From 966130132f75e0c30b176281081721bcb19e234d Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Tue, 25 Sep 2007 17:33:56 +0000 Subject: [PATCH] Make glibc define the prototype for strcasestr --- lib/strequal.c | 5 +++++ 1 file changed, 5 insertions(+) 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