summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2006-01-05 22:05:20 +0000
committerPierre Ossman <ossman@cendio.se>2006-01-05 22:05:20 +0000
commit983fdb3238ec717208cd354fc4e487bd69bf1d30 (patch)
treec0b9349488ebac5763dc4bd8f128ad11bd03c951
parent7aba34bc4e3835dd84f13506555702993a3eeacc (diff)
Stub uses socket defines so include the header.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@408 fefdeb5f-60dc-0310-8127-8f9354f1896f
-rw-r--r--polyp/module-protocol-stub.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/polyp/module-protocol-stub.c b/polyp/module-protocol-stub.c
index 0b91c68c..37a17c86 100644
--- a/polyp/module-protocol-stub.c
+++ b/polyp/module-protocol-stub.c
@@ -29,6 +29,9 @@
#include <assert.h>
#include <unistd.h>
+#ifdef HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif