summaryrefslogtreecommitdiffstats
path: root/polyp/socket-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/socket-client.c')
-rw-r--r--polyp/socket-client.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/polyp/socket-client.c b/polyp/socket-client.c
index 6d8cb2ab..51134b84 100644
--- a/polyp/socket-client.c
+++ b/polyp/socket-client.c
@@ -48,19 +48,12 @@
#include <netdb.h>
#endif
-#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
-#define EINPROGRESS WSAEINPROGRESS
-#define ETIMEDOUT WSAETIMEDOUT
-#endif
-#ifdef HAVE_WS2TCPIP_H
-#include <ws2tcpip.h>
-#endif
-
#ifdef HAVE_LIBASYNCNS
#include <asyncns.h>
#endif
+#include "winsock.h"
+
#include "socket-client.h"
#include "socket-util.h"
#include "util.h"