From: Roy Marples Date: Fri, 5 Nov 2010 08:13:07 +0000 (+0000) Subject: Don't redefine _GNU_SOURCE. X-Git-Tag: v5.2.9~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65aaa72c88c9c2e6110bb65241f813e344809576;p=thirdparty%2Fdhcpcd.git Don't redefine _GNU_SOURCE. --- diff --git a/common.c b/common.c index 9ac25898..06420558 100644 --- a/common.c +++ b/common.c @@ -26,7 +26,9 @@ */ /* Needed define to get at getline for glibc and FreeBSD */ -#define _GNU_SOURCE +#ifndef _GNU_SOURCE +# define _GNU_SOURCE +#endif #include