]> git.cworth.org Git - notmuch/blobdiff - compat/have_strcasestr.c
compat: probe for strcasestr more thoroughly
[notmuch] / compat / have_strcasestr.c
index 3cd1838d950bd30c6239053a09d2a8f401f8b537..8e004572dbf04865f538ba8d051b1745ae2fd495 100644 (file)
@@ -1,5 +1,6 @@
 #define _GNU_SOURCE
-#include <strings.h>
+#include <strings.h> /* strcasecmp() in POSIX */
+#include <string.h> /* strcasecmp() in *BSD */
 
 int
 main ()