diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2007-09-25 17:33:56 +0000 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2007-09-25 17:33:56 +0000 |
commit | 966130132f75e0c30b176281081721bcb19e234d (patch) | |
tree | cc2c880c539554c668135b42b08b7a49ae8577fc | |
parent | a19de6e9ac37df9bdff0903dffeafafdb1557894 (diff) |
Make glibc define the prototype for strcasestr
-rw-r--r-- | lib/strequal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/strequal.c b/lib/strequal.c index adf84403d..49dc4880b 100644 --- a/lib/strequal.c +++ b/lib/strequal.c @@ -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> |