summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--ftw.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/configure b/configure
index 98caaf7b..1518af29 100755
--- a/configure
+++ b/configure
@@ -103,7 +103,7 @@ yacc='$(cross)$(tool_prefix)$(yaccname)'
yacc_given=
nm='$(cross)$(tool_prefix)nm'
opt_flags=-O2
-lang_flags='-ansi -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200112'
+lang_flags='-ansi -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200112 -D_GNU_SOURCE'
diag_flags='-Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=strict-prototypes'
debug_flags=-g
debug_only_flags=-DTXR_DEBUG
diff --git a/ftw.c b/ftw.c
index c906d6a3..63509ed5 100644
--- a/ftw.c
+++ b/ftw.c
@@ -29,9 +29,6 @@
#include <signal.h>
#include <stdlib.h>
#include <stddef.h>
-#ifndef __USE_GNU
-#define __USE_GNU
-#endif
#include <ftw.h>
#include "config.h"
#include ALLOCA_H