mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-15 06:59:58 -05:00
Modern versions of MinGW and Visual Studio provide socket errno defines that make no sense (no API sets them). Make sure we continue to use the old WSAE ones that are actually returned by Windows' socket API. Signed-off-by: Pierre Ossman <ossman@cendio.se>
20 lines
283 B
C
20 lines
283 B
C
#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
|