]> git.notmuchmail.org Git - notmuch/blobdiff - compat/compat.h
Add simplistic reimplementation of strcasestr to compat library
[notmuch] / compat / compat.h
index d639e0f934cec2b91ebab85574f75490fb8f347f..173ef680ceb8d9d9d67833fcd9db6e10ea4382aa 100644 (file)
@@ -38,4 +38,8 @@ getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp);
 
 #endif /* !HAVE_GETLINE */
 
+#if !HAVE_STRCASESTR
+char* strcasestr(const char *haystack, const char *needle);
+#endif /* !HAVE_STRCASESTR */
+
 #endif /* NOTMUCH_COMPAT_H */