summaryrefslogtreecommitdiffstats
path: root/polyp/socket-client.c
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-01-09 16:50:39 +0000
committerPierre Ossman <ossman@cendio.se>2006-01-09 16:50:39 +0000
commit5fcbf04f5b95cccc61b2986a6582fa475e4d9c8b (patch)
tree28c2020661b53c47e8a490199b0f115acd881f05 /polyp/socket-client.c
parent9818d67ec27bbc39feaf4c1a1f3d35a029484cc9 (diff)
Condense winsock includes and defines into one header.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@428 fefdeb5f-60dc-0310-8127-8f9354f1896f
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"