X-Git-Url: https://git.cworth.org/git?p=notmuch;a=blobdiff_plain;f=compat%2Fhave_strcasestr.c;h=3cd1838d950bd30c6239053a09d2a8f401f8b537;hp=c0fb7629d8e410f3a372c5c365c722e2a17a4ee1;hb=HEAD;hpb=f7130468d27c4f37d45e6aa60baacfc3329ccff4 diff --git a/compat/have_strcasestr.c b/compat/have_strcasestr.c index c0fb7629..8e004572 100644 --- a/compat/have_strcasestr.c +++ b/compat/have_strcasestr.c @@ -1,10 +1,12 @@ #define _GNU_SOURCE -#include +#include /* strcasecmp() in POSIX */ +#include /* strcasecmp() in *BSD */ -int main() +int +main () { char *found; const char *haystack, *needle; - found = strcasestr(haystack, needle); + found = strcasestr (haystack, needle); }