summaryrefslogtreecommitdiffstats
path: root/polyp/socket-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/socket-util.c')
-rw-r--r--polyp/socket-util.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/polyp/socket-util.c b/polyp/socket-util.c
index 699b28c2..381502b5 100644
--- a/polyp/socket-util.c
+++ b/polyp/socket-util.c
@@ -57,10 +57,7 @@
#include <netdb.h>
#endif
-#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
-#define ETIMEDOUT WSAETIMEDOUT
-#endif
+#include "winsock.h"
#include "socket-util.h"
#include "util.h"