default: esd is obsolete, hence don't load it anymore by default
[pulseaudio-mirror.git] / src / pulsecore / socket.h
blob0d38bee66a45ca138d1ac4b3781f6595b470d037
1 #ifndef foopulsecoresockethfoo
2 #define foopulsecoresockethfoo
4 #ifdef HAVE_SYS_SOCKET_H
5 #include <sys/socket.h>
6 #endif
8 #ifdef HAVE_WINSOCK2_H
9 #include <winsock2.h>
11 #define ESHUTDOWN WSAESHUTDOWN
12 #define ECONNRESET WSAECONNRESET
13 #define ECONNABORTED WSAECONNABORTED
14 #define ENETRESET WSAENETRESET
15 #define EINPROGRESS WSAEINPROGRESS
16 #define EAFNOSUPPORT WSAEAFNOSUPPORT
17 #define ETIMEDOUT WSAETIMEDOUT
18 #define ECONNREFUSED WSAECONNREFUSED
19 #define EHOSTUNREACH WSAEHOSTUNREACH
20 #define EWOULDBLOCK WSAEWOULDBLOCK
21 #define EADDRINUSE WSAEADDRINUSE
23 typedef long suseconds_t;
25 #endif
27 #ifdef HAVE_WS2TCPIP_H
28 #include <ws2tcpip.h>
29 #endif
31 #endif