diff options
Diffstat (limited to 'src/pulsecore/socket.h')
-rw-r--r-- | src/pulsecore/socket.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/pulsecore/socket.h b/src/pulsecore/socket.h new file mode 100644 index 0000000..72f2228 --- /dev/null +++ b/src/pulsecore/socket.h @@ -0,0 +1,20 @@ +#ifndef foopulsecoresockethfoo +#define foopulsecoresockethfoo + +#ifdef HAVE_SYS_SOCKET_H +#include <sys/socket.h> +#endif + +#ifdef HAVE_WINSOCK2_H +#include <winsock2.h> +#include "winerrno.h" + +typedef long suseconds_t; + +#endif + +#ifdef HAVE_WS2TCPIP_H +#include <ws2tcpip.h> +#endif + +#endif |