aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-05-01 18:34:59 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2015-05-01 18:34:59 +0000
commit28588be67cf2950c260138bb70f2f9ec0cb2611d (patch)
tree1316e5bc32d09f66c1dd8ef272fb0093de776926 /net
parentc07c10ccf10d14291bfebab1680b0baf24c56447 (diff)
'#include <ws2tcpip.h>' for 'socklen_t'
as found in other externals in this directory that use socklen_t svn path=/trunk/externals/mrpeach/; revision=17464
Diffstat (limited to 'net')
-rw-r--r--net/tcpserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/tcpserver.c b/net/tcpserver.c
index ebea098..0842e1d 100644
--- a/net/tcpserver.c
+++ b/net/tcpserver.c
@@ -50,6 +50,7 @@
#define SOCKET_ERROR -1
#else
#include <winsock2.h>
+#include <ws2tcpip.h> /* for socklen_t */
#endif
/* support older Pd versions without sys_open(), sys_fopen(), sys_fclose() */