From 7947121bff38c49956b9b53c785c25f4d109bd26 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 5 Aug 2014 16:03:03 +0000 Subject: strcasestr() wants _GNU_SOURCE on Linux --- test-strcasestr.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test-strcasestr.c') diff --git a/test-strcasestr.c b/test-strcasestr.c index 2ffb420b..479ba913 100644 --- a/test-strcasestr.c +++ b/test-strcasestr.c @@ -1,3 +1,7 @@ +#if defined(__linux__) || defined(__MINT__) +# define _GNU_SOURCE /* strcasestr() */ +#endif + #include int -- cgit v1.2.3