diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-01 16:06:19 +0100 |
---|---|---|
committer | Maarten Bosmans <mkbosmans@gmail.com> | 2011-03-19 13:41:05 +0100 |
commit | c470680e1ba008c05c13231dbbafd69cb9330488 (patch) | |
tree | 1ec2b34d830ac69829f46d3b316a661345ee62ce /src/pulsecore/socket-util.c | |
parent | 09d7baec645c8720b9ba71fc1e8db6b35c3da943 (diff) |
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.
Diffstat (limited to 'src/pulsecore/socket-util.c')
-rw-r--r-- | src/pulsecore/socket-util.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/pulsecore/socket-util.c b/src/pulsecore/socket-util.c index 0b16e0f9..3023395c 100644 --- a/src/pulsecore/socket-util.c +++ b/src/pulsecore/socket-util.c @@ -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" |