]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Make glibc define the prototype for strcasestr
authorDan Fandrich <dan@coneharvesters.com>
Tue, 25 Sep 2007 17:33:56 +0000 (17:33 +0000)
committerDan Fandrich <dan@coneharvesters.com>
Tue, 25 Sep 2007 17:33:56 +0000 (17:33 +0000)
lib/strequal.c

index adf84403ddebe5950153488e6a3625928436c508..49dc4880b1d0c014a229a0baefb8f0daf719639f 100644 (file)
  * $Id$
  ***************************************************************************/
 
+#ifndef _GNU_SOURCE
+/* glibc needs this to define the prototype for strcasestr */
+#define _GNU_SOURCE 1
+#endif
+
 #include "setup.h"
 
 #include <string.h>