From: Roy Marples Date: Thu, 18 Sep 2014 09:06:51 +0000 (+0000) Subject: Add _DEFAULT_SOURCE #define to linux builds so glibc-2.20 stops bitching about _BSD_S... X-Git-Tag: v6.4.5~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ba1707605838fa5b8e476256436bd51e59cc733f;p=thirdparty%2Fdhcpcd.git Add _DEFAULT_SOURCE #define to linux builds so glibc-2.20 stops bitching about _BSD_SOURCE --- diff --git a/configure b/configure index eb793c52..5a8c8768 100755 --- a/configure +++ b/configure @@ -382,6 +382,8 @@ fi case "$OS" in linux*) echo "CPPFLAGS+= -D_BSD_SOURCE -D_XOPEN_SOURCE=700" >>$CONFIG_MK + # glibc-2.20 + echo "CPPFLAGS+= -D_DEFAULT_SOURCE" >>$CONFIG_MK echo "DHCPCD_SRCS+= if-linux.c" >>$CONFIG_MK ;; kfreebsd*)