]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Don't redefine _GNU_SOURCE.
authorRoy Marples <roy@marples.name>
Fri, 5 Nov 2010 08:13:07 +0000 (08:13 +0000)
committerRoy Marples <roy@marples.name>
Fri, 5 Nov 2010 08:13:07 +0000 (08:13 +0000)
common.c

index 9ac2589811b5426ae98473e587b0cc5fdc491b1b..06420558035a8acdcfa5452650f77085b0841359 100644 (file)
--- 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 <sys/cdefs.h>