summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadgetnamenp.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadgetnamenp.c')
-rw-r--r--cpukit/posix/src/pthreadgetnamenp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthreadgetnamenp.c b/cpukit/posix/src/pthreadgetnamenp.c
index e753823976..502f051b81 100644
--- a/cpukit/posix/src/pthreadgetnamenp.c
+++ b/cpukit/posix/src/pthreadgetnamenp.c
@@ -6,11 +6,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>