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:
Maarten Bosmans 2011-03-01 16:06:19 +01:00
parent 09d7baec64
commit c470680e1b
21 changed files with 69 additions and 141 deletions

View file

@ -54,13 +54,6 @@
#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#ifndef HAVE_INET_NTOP
#include <pulsecore/inet_ntop.h>
#endif
#include <pulse/xmalloc.h>
@ -69,6 +62,7 @@
#include <pulsecore/log.h>
#include <pulsecore/macro.h>
#include <pulsecore/socket.h>
#include <pulsecore/arpa-inet.h>
#include "socket-util.h"