diff options
author | Pierre Ossman <ossman@cendio.se> | 2006-01-05 21:15:09 +0000 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2006-01-05 21:15:09 +0000 |
commit | 8f3c364b4700c8e459269ff00dbe810503038639 (patch) | |
tree | 0f48877dbe58b7de8cab9bbc32b4d03e217b5342 /polyp/module-protocol-stub.c | |
parent | e28ce8c59f193f53f1c722f3d54238e6d35de731 (diff) |
Make sure all socket headers are protected by ifdefs.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@399 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'polyp/module-protocol-stub.c')
-rw-r--r-- | polyp/module-protocol-stub.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/polyp/module-protocol-stub.c b/polyp/module-protocol-stub.c index 15697582..0b91c68c 100644 --- a/polyp/module-protocol-stub.c +++ b/polyp/module-protocol-stub.c @@ -27,9 +27,14 @@ #include <errno.h> #include <stdio.h> #include <assert.h> -#include <arpa/inet.h> #include <unistd.h> + +#ifdef HAVE_ARPA_INET_H +#include <arpa/inet.h> +#endif +#ifdef HAVE_NETINET_IN_H #include <netinet/in.h> +#endif #include "module.h" #include "socket-server.h" |