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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index 9f781f7b7..f8e957788 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -15,8 +15,7 @@
#include <sys/types.h>
#ifdef WIN32
- #include <winsock2.h>
- #include <io.h>
+ #include "../common/winapi.h"
#else
#include <errno.h>
#include <sys/socket.h>