diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/network.c | 2 | ||||
-rw-r--r-- | toxcore/util.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/network.c b/toxcore/network.c index fb4748d4..7d6e415a 100644 --- a/toxcore/network.c +++ b/toxcore/network.c | |||
@@ -26,7 +26,9 @@ | |||
26 | #endif | 26 | #endif |
27 | 27 | ||
28 | #define _DARWIN_C_SOURCE | 28 | #define _DARWIN_C_SOURCE |
29 | #ifndef _XOPEN_SOURCE | ||
29 | #define _XOPEN_SOURCE 600 | 30 | #define _XOPEN_SOURCE 600 |
31 | #endif | ||
30 | 32 | ||
31 | #if defined(_WIN32) && _WIN32_WINNT >= _WIN32_WINNT_WINXP | 33 | #if defined(_WIN32) && _WIN32_WINNT >= _WIN32_WINNT_WINXP |
32 | #define _WIN32_WINNT 0x501 | 34 | #define _WIN32_WINNT 0x501 |
diff --git a/toxcore/util.c b/toxcore/util.c index 92bbb68c..85584f09 100644 --- a/toxcore/util.c +++ b/toxcore/util.c | |||
@@ -27,7 +27,9 @@ | |||
27 | #include "config.h" | 27 | #include "config.h" |
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #ifndef _XOPEN_SOURCE | ||
30 | #define _XOPEN_SOURCE 600 | 31 | #define _XOPEN_SOURCE 600 |
32 | #endif | ||
31 | 33 | ||
32 | #include "util.h" | 34 | #include "util.h" |
33 | 35 | ||