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/tests | |
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/tests')
-rw-r--r-- | src/tests/ipacl-test.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/tests/ipacl-test.c b/src/tests/ipacl-test.c index 58663468..be9caadf 100644 --- a/src/tests/ipacl-test.c +++ b/src/tests/ipacl-test.c @@ -17,14 +17,11 @@ #ifdef HAVE_NETINET_IP_H #include <netinet/ip.h> #endif -#ifdef HAVE_ARPA_INET_H -#include <arpa/inet.h> -#endif #include <pulsecore/socket.h> #include <pulsecore/macro.h> #include <pulsecore/ipacl.h> -#include <pulsecore/inet_pton.h> +#include <pulsecore/arpa-inet.h> int main(int argc, char *argv[]) { struct sockaddr_in sa; |