1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

Make glibc define the prototype for strcasestr

This commit is contained in:
Dan Fandrich 2007-09-25 17:33:56 +00:00
parent a19de6e9ac
commit 966130132f

View File

@ -21,6 +21,11 @@
* $Id$ * $Id$
***************************************************************************/ ***************************************************************************/
#ifndef _GNU_SOURCE
/* glibc needs this to define the prototype for strcasestr */
#define _GNU_SOURCE 1
#endif
#include "setup.h" #include "setup.h"
#include <string.h> #include <string.h>