mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-08 13:29:59 -05:00
Use pulsecore/arpa-inet.h to make arpa/inet.h functionality available
Automatically use replacement function on platforms (win32) where not all arpa/inet.h is available natively.
This commit is contained in:
parent
09d7baec64
commit
c470680e1b
21 changed files with 69 additions and 141 deletions
|
|
@ -37,9 +37,6 @@
|
|||
#ifdef HAVE_NETINET_IP_H
|
||||
#include <netinet/ip.h>
|
||||
#endif
|
||||
#ifdef HAVE_ARPA_INET_H
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#include <pulse/xmalloc.h>
|
||||
|
||||
|
|
@ -48,10 +45,7 @@
|
|||
#include <pulsecore/log.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/socket.h>
|
||||
|
||||
#ifndef HAVE_INET_PTON
|
||||
#include <pulsecore/inet_pton.h>
|
||||
#endif
|
||||
#include <pulsecore/arpa-inet.h>
|
||||
|
||||
#include "ipacl.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue