summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadgetattrnp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadgetattrnp.c')
-rw-r--r--cpukit/posix/src/pthreadgetattrnp.c3
1 files changed, 2 insertions, 1 deletions
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 <pthread.h>
#include <errno.h>
#include <string.h>