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/psxthreadname01/init.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'testsuites/psxtests/psxthreadname01/init.c') diff --git a/testsuites/psxtests/psxthreadname01/init.c b/testsuites/psxtests/psxthreadname01/init.c index 0269e971cd..ccc2ea1031 100644 --- a/testsuites/psxtests/psxthreadname01/init.c +++ b/testsuites/psxtests/psxthreadname01/init.c @@ -12,11 +12,12 @@ * http://www.rtems.org/license/LICENSE. */ +#define _GNU_SOURCE + #ifdef HAVE_CONFIG_H - #include "config.h" +#include "config.h" #endif -#define _GNU_SOURCE #include #include #include -- cgit v1.2.3