aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-01-15 18:53:00 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-01-15 18:53:00 +0000
commit82dab5a62f6cb33268dd1134d4ec2ca8dd6a57d6 (patch)
tree79d2208889524440f3f8b3aaff7f74aab57f9ad2 /net
parenta75ff915233d444d2441a8052ccca90b849fae30 (diff)
Added include for ws2tcpip.h for socklen_t for _WIN32
svn path=/trunk/externals/mrpeach/; revision=13013
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