diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-07-20 23:21:57 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-07-20 23:21:57 +0000 |
commit | 09e01afa1fa27b5148fa8eb7dc35bfd04cc3de68 (patch) | |
tree | b3b9af207ca503b97b878fc0c98b4628f78d6e92 /src/pulsecore/ipacl.c | |
parent | 40b408990ae4d52df33a88508b02954a67b6841b (diff) |
Get ACL:s to work on Win32.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1134 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/ipacl.c')
-rw-r--r-- | src/pulsecore/ipacl.c | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/src/pulsecore/ipacl.c b/src/pulsecore/ipacl.c index ed5044ef..15b6b3f9 100644 --- a/src/pulsecore/ipacl.c +++ b/src/pulsecore/ipacl.c @@ -24,18 +24,36 @@ #endif #include <sys/types.h> +#include <sys/types.h> +#include <string.h> + +#ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> +#endif +#ifdef HAVE_NETINET_IN_H #include <netinet/in.h> +#endif +#ifdef HAVE_NETINET_IN_SYSTM_H #include <netinet/in_systm.h> +#endif +#ifdef HAVE_NETINET_IP_H #include <netinet/ip.h> -#include <sys/types.h> +#endif +#ifdef HAVE_ARPA_INET_H #include <arpa/inet.h> -#include <string.h> +#endif + +#include "winsock.h" + +#include <pulse/xmalloc.h> #include <pulsecore/core-util.h> #include <pulsecore/llist.h> #include <pulsecore/log.h> -#include <pulse/xmalloc.h> + +#ifndef HAVE_INET_PTON +#include "inet_pton.h" +#endif #include "ipacl.h" |