summaryrefslogtreecommitdiff
path: root/src/pulsecore/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/socket.h')
-rw-r--r--src/pulsecore/socket.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/pulsecore/socket.h b/src/pulsecore/socket.h
index 0d38bee6..72f22281 100644
--- a/src/pulsecore/socket.h
+++ b/src/pulsecore/socket.h
@@ -7,18 +7,7 @@
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
-
-#define ESHUTDOWN WSAESHUTDOWN
-#define ECONNRESET WSAECONNRESET
-#define ECONNABORTED WSAECONNABORTED
-#define ENETRESET WSAENETRESET
-#define EINPROGRESS WSAEINPROGRESS
-#define EAFNOSUPPORT WSAEAFNOSUPPORT
-#define ETIMEDOUT WSAETIMEDOUT
-#define ECONNREFUSED WSAECONNREFUSED
-#define EHOSTUNREACH WSAEHOSTUNREACH
-#define EWOULDBLOCK WSAEWOULDBLOCK
-#define EADDRINUSE WSAEADDRINUSE
+#include "winerrno.h"
typedef long suseconds_t;