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/tagstruct.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/tagstruct.c')
-rw-r--r-- | polyp/tagstruct.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/polyp/tagstruct.c b/polyp/tagstruct.c index a6dad868..a3bd7d99 100644 --- a/polyp/tagstruct.c +++ b/polyp/tagstruct.c @@ -27,9 +27,12 @@ #include <string.h> #include <unistd.h> #include <sys/time.h> -#include <netinet/in.h> #include <assert.h> +#ifdef HAVE_NETINET_IN_H +#include <netinet/in.h> +#endif + #include "tagstruct.h" #include "xmalloc.h" |