From 38207a31e41b8cb3f3978c1ccbe10c6467f85c51 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 16 Nov 2019 16:01:13 +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. --- cpukit/posix/src/pthreadgetattrnp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/posix/src/pthreadgetattrnp.c') diff --git a/cpukit/posix/src/pthreadgetattrnp.c b/cpukit/posix/src/pthreadgetattrnp.c index 5cc47c6901..d84383c204 100644 --- a/cpukit/posix/src/pthreadgetattrnp.c +++ b/cpukit/posix/src/pthreadgetattrnp.c @@ -14,11 +14,12 @@ * http://www.rtems.org/license/LICENSE. */ +#define _GNU_SOURCE + #if HAVE_CONFIG_H #include "config.h" #endif -#define _GNU_SOURCE #include #include #include -- cgit v1.2.3