Commit b54d462c855bd47c5096650c587590d6c4a871b6

Con Kolivas 2012-02-09T21:56:07

Missing include to build on newer mingw32.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/api.c b/api.c
index a65c906..12f9d93 100644
--- a/api.c
+++ b/api.c
@@ -37,6 +37,7 @@
 #endif
 
 #ifdef WIN32
+	#include <ws2tcpip.h>
 	#include <winsock2.h>
 
 	#define SOCKETTYPE SOCKET