mirror of
https://github.com/curl/curl.git
synced 2026-08-25 05:23:32 +03:00
Make glibc define the prototype for strcasestr
This commit is contained in:
parent
a19de6e9ac
commit
966130132f
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue