mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
Make glibc define the prototype for strcasestr
This commit is contained in:
parent
a19de6e9ac
commit
966130132f
@ -21,6 +21,11 @@
|
||||
* $Id$
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef _GNU_SOURCE
|
||||
/* glibc needs this to define the prototype for strcasestr */
|
||||
#define _GNU_SOURCE 1
|
||||
#endif
|
||||
|
||||
#include "setup.h"
|
||||
|
||||
#include <string.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user