From 8f6b7abd1aed966f205cc26e09ef38f9b0d40744 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 27 Nov 2019 12:02:45 +0100 Subject: Move feature macro before "config.h" include This allows to use header includes in "config.h" to reduce the build configuration checks. Update #3818. --- testsuites/psxtests/psxhdrs/ftw/ftw.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testsuites/psxtests/psxhdrs/ftw/ftw.c') diff --git a/testsuites/psxtests/psxhdrs/ftw/ftw.c b/testsuites/psxtests/psxhdrs/ftw/ftw.c index 2578d3af44..41757165a8 100644 --- a/testsuites/psxtests/psxhdrs/ftw/ftw.c +++ b/testsuites/psxtests/psxhdrs/ftw/ftw.c @@ -30,11 +30,12 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#define _XOPEN_SOURCE 500 + #ifdef HAVE_CONFIG_H #include "config.h" #endif -#define _XOPEN_SOURCE 500 #include int test( void ); -- cgit v1.2.3