]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.h
Make repository search case insensitive
[ps-cgit] / cgit.h
diff --git a/cgit.h b/cgit.h
index ee8c716be4d50bd799d0c3fa899876bf7f54a2ec..a3b65354388018646a58e0b6a12a3c28282d4cf6 100644 (file)
--- a/cgit.h
+++ b/cgit.h
@@ -221,4 +221,11 @@ extern const char *cgit_repobasename(const char *reponame);
 
 extern int cgit_parse_snapshots_mask(const char *str);
 
+/* libgit.a either links against or compiles its own implementation of
+ * strcasestr(), and we'd like to reuse it. Simply re-declaring it
+ * seems to do the trick.
+ */
+extern char *strcasestr(const char *haystack, const char *needle);
+
+
 #endif /* CGIT_H */