summaryrefslogtreecommitdiff
path: root/source/kit/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/kit/thread.h')
-rw-r--r--source/kit/thread.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/kit/thread.h b/source/kit/thread.h
index e8fb7e8..92e6a5d 100644
--- a/source/kit/thread.h
+++ b/source/kit/thread.h
@@ -2,9 +2,12 @@
#define KIT_THREAD_H
#ifndef KIT_DISABLE_SYSTEM_THREADS
+# ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+# endif
+
# include "thread_defs.h"
-# define _GNU_SOURCE
# include <stddef.h>
# include <time.h>