summaryrefslogtreecommitdiff
path: root/toxcore/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/network.c')
-rw-r--r--toxcore/network.c2
1 files changed, 2 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