mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-12 13:30:10 -05:00
win32: Fix duplicate definitions in arpa-inet.h, arpa-inet.c, and poll.h
When _WIN32_WINNT >= 0x6000 (Vista), ws2tcpip.h provides inet_ntop and inet_pton, and winsock2.h provides the equivalent of poll.h. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/458>
This commit is contained in:
parent
0edcf725bc
commit
fc002e4dc6
3 changed files with 8 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
|||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_ARPA_INET_H) && defined(OS_IS_WIN32)
|
||||
#if !defined(HAVE_ARPA_INET_H) && defined(OS_IS_WIN32) && NTDDI_VERSION < NTDDI_VISTA
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue