summaryrefslogtreecommitdiffstats
path: root/polyp/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/poll.c')
-rw-r--r--polyp/poll.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/polyp/poll.c b/polyp/poll.c
index 7c25f348..cb7e3e7a 100644
--- a/polyp/poll.c
+++ b/polyp/poll.c
@@ -36,16 +36,7 @@
#include <sys/select.h>
#endif
-#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
-
-#define EBADF WSAEBADF
-#define ESHUTDOWN WSAESHUTDOWN
-#define ECONNRESET WSAECONNRESET
-#define ECONNABORTED WSAECONNABORTED
-#define ENETRESET WSAENETRESET
-
-#endif /* HAVE_WINSOCK2_H */
+#include "winsock.h"
#ifndef HAVE_SYS_POLL_H