summaryrefslogtreecommitdiff
path: root/src/common/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/socket.c')
-rw-r--r--src/common/socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index f43ca108c..02ba49cb9 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -10,6 +10,7 @@
#include <windows.h>
#include <winsock2.h>
#include <io.h>
+typedef int socklen_t;
#else
#include <sys/socket.h>
#include <netinet/in.h>