summaryrefslogtreecommitdiff
path: root/toxcore
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore')
-rw-r--r--toxcore/tox.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index db3621dc..eabbb1af 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -36,6 +36,13 @@
36#include <windows.h> 36#include <windows.h>
37#include <ws2tcpip.h> 37#include <ws2tcpip.h>
38 38
39typedef INT sa_family_t;
40#ifndef true
41#define true 1
42#endif
43#ifndef false
44#define false 0
45#endif
39#else 46#else
40 47
41#include <netinet/ip.h> 48#include <netinet/ip.h>