diff options
Diffstat (limited to 'rts/posix/OSThreads.c')
-rw-r--r-- | rts/posix/OSThreads.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rts/posix/OSThreads.c b/rts/posix/OSThreads.c index 44cda2626d..5b5b736703 100644 --- a/rts/posix/OSThreads.c +++ b/rts/posix/OSThreads.c @@ -32,6 +32,9 @@ #if defined(netbsd_HOST_OS) #define _NETBSD_SOURCE 1 #endif +#if defined(linux_HOST_OS) +#define _GNU_SOURCE 1 +#endif #include "Rts.h" |