summaryrefslogtreecommitdiffstats
path: root/polyp/polyplib-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/polyplib-context.c')
-rw-r--r--polyp/polyplib-context.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/polyp/polyplib-context.c b/polyp/polyplib-context.c
index da91995b..f97d9b82 100644
--- a/polyp/polyplib-context.c
+++ b/polyp/polyplib-context.c
@@ -45,12 +45,7 @@
#include <netdb.h>
#endif
-#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
-#define ETIMEDOUT WSAETIMEDOUT
-#define ECONNREFUSED WSAECONNREFUSED
-#define EHOSTUNREACH WSAEHOSTUNREACH
-#endif
+#include "winsock.h"
#include "polyplib-internal.h"
#include "polyplib-context.h"