aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/tcpclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tcpclient.c b/net/tcpclient.c
index 591f801..614d2ab 100644
--- a/net/tcpclient.c
+++ b/net/tcpclient.c
@@ -44,6 +44,7 @@
#define SOCKET_ERROR -1
#else
#include <winsock2.h>
+#include <ws2tcpip.h> /* for socklen_t */
#endif
#ifdef _MSC_VER