From: Nicolas Williams Date: Thu, 5 Dec 2013 00:14:31 +0000 (-0600) Subject: Conditionally #define _GNU_SOURCE in compile.c X-Git-Tag: jq-1.4~76^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=54635000c5a9660affd7a08c9d72d3c350ecb241;p=jq Conditionally #define _GNU_SOURCE in compile.c --- diff --git a/compile.c b/compile.c index 248d363..f634284 100644 --- a/compile.c +++ b/compile.c @@ -1,4 +1,6 @@ +#ifndef _GNU_SOURCE #define _GNU_SOURCE // for strdup +#endif #include #include #include