From c7781f434b9b6686975a14c6fda483929ae8e640 Mon Sep 17 00:00:00 2001 From: Ulrich Wilkens Date: Sat, 9 May 2015 00:39:05 +0200 Subject: [PATCH] Remove warnings on Linux with glibc 2.20 --- cde/config/cf/linux.cf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cde/config/cf/linux.cf b/cde/config/cf/linux.cf index 858627ed..6d22a79a 100644 --- a/cde/config/cf/linux.cf +++ b/cde/config/cf/linux.cf @@ -161,14 +161,14 @@ TIRPCLIB = #endif #if LinuxCLibMajorVersion < 6 -# define LinuxSourceDefines -D_POSIX_SOURCE \ +# define LinuxSourceDefines -D_POSIX_SOURCE -D_DEFAULT_SOURCE \ -D_BSD_SOURCE -D_SVID_SOURCE LinuxLocaleDefines # ifndef HasLibCrypt # define HasLibCrypt NO # endif #else -# define LinuxSourceDefines -D_POSIX_SOURCE \ +# define LinuxSourceDefines -D_POSIX_SOURCE -D_DEFAULT_SOURCE \ -D_BSD_SOURCE -D_SVID_SOURCE \ -D__NO_STRING_INLINES -D__NO_MATH_INLINES \ LinuxLocaleDefines -- 2.25.1