win32: Fix duplicate definitions in arpa-inet.h, arpa-inet.c, and poll.h
authorPatrick Gaskin <patrick@pgaskin.net>
Sun, 3 Jan 2021 09:07:05 +0000 (04:07 -0500)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Wed, 13 Jan 2021 03:42:24 +0000 (03:42 +0000)
commitfc002e4dc6a365551b5a665cf0baba03e53577ab
treeb923104c75c734250da63af45288d89cc7d71cce
parent0edcf725bcb77c5a3ae0c3473b775a85dbcd0236
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>
src/pulsecore/arpa-inet.c
src/pulsecore/arpa-inet.h
src/pulsecore/poll.h