With earlier commit we're including config.h before the system headers. As such we no longer require the extra define as it is handled/set via AC_USE_SYSTEM_EXTENSIONS. Note platforms which do not use autotools but require the define (such as Android) might need to set it explicitly.
Suggested-by: Alan Coopersmith <[email protected]> Signed-off-by: Emil Velikov <[email protected]> --- src/linux_sysfs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/linux_sysfs.c b/src/linux_sysfs.c index 50d94cf..a194e8b 100644 --- a/src/linux_sysfs.c +++ b/src/linux_sysfs.c @@ -32,8 +32,6 @@ * \author Ian Romanick <[email protected]> */ -#define _GNU_SOURCE - #ifdef HAVE_CONFIG_H #include "config.h" #endif -- 2.2.2 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
