diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/threading.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/threading.c b/src/threading.c index 7b75986..ffd063f 100644 --- a/src/threading.c +++ b/src/threading.c | |||
| @@ -34,6 +34,10 @@ THE SOFTWARE. | |||
| 34 | 34 | ||
| 35 | =============================================================================== | 35 | =============================================================================== |
| 36 | */ | 36 | */ |
| 37 | #if defined(__linux__) | ||
| 38 | # define _GNU_SOURCE /* must be defined before any include */ | ||
| 39 | #endif | ||
| 40 | |||
| 37 | #include <stdio.h> | 41 | #include <stdio.h> |
| 38 | #include <stdlib.h> | 42 | #include <stdlib.h> |
| 39 | #include <assert.h> | 43 | #include <assert.h> |
