aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
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() */