summaryrefslogtreecommitdiff
path: root/toxcore/network.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/network.h')
-rw-r--r--toxcore/network.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/toxcore/network.h b/toxcore/network.h
index b0d306e4..5e434c1a 100644
--- a/toxcore/network.h
+++ b/toxcore/network.h
@@ -44,6 +44,10 @@
44#include <windows.h> 44#include <windows.h>
45#include <ws2tcpip.h> 45#include <ws2tcpip.h>
46 46
47#ifndef IPV6_V6ONLY
48#define IPV6_V6ONLY 27
49#endif
50
47typedef unsigned int sock_t; 51typedef unsigned int sock_t;
48/* sa_family_t is the sockaddr_in / sockaddr_in6 family field */ 52/* sa_family_t is the sockaddr_in / sockaddr_in6 family field */
49typedef short sa_family_t; 53typedef short sa_family_t;