summaryrefslogtreecommitdiff
path: root/src/modules/module-esound-sink.c
diff options
context:
space:
mode:
authorMaarten Bosmans <mkbosmans@gmail.com>2011-01-06 00:51:33 +0100
committerMaarten Bosmans <mkbosmans@gmail.com>2011-02-17 11:58:22 +0100
commitbb12ff83564d43566089dd979639c6993ba76665 (patch)
tree1d7df88762eeba464971742328b7617ffb93f3b3 /src/modules/module-esound-sink.c
parent0ac0479534d9cb6e4ef734eeb3a663f33a4f8ef3 (diff)
Apply #ifdefs around functionality not available on win32
And also the reverse: around some win32 specific functionality
Diffstat (limited to 'src/modules/module-esound-sink.c')
-rw-r--r--src/modules/module-esound-sink.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/module-esound-sink.c b/src/modules/module-esound-sink.c
index 9eba8ac3d..5a1391d71 100644
--- a/src/modules/module-esound-sink.c
+++ b/src/modules/module-esound-sink.c
@@ -31,9 +31,18 @@
#include <fcntl.h>
#include <unistd.h>
#include <limits.h>
+
+#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
+#endif
+
+#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
+#endif
+
+#ifdef HAVE_SYS_IOCTL_H
#include <sys/ioctl.h>
+#endif
#ifdef HAVE_LINUX_SOCKIOS_H
#include <linux/sockios.h>