summaryrefslogtreecommitdiffstats
path: root/src/modules/rtp
diff options
context:
space:
mode:
authorJared D. McNeill <jmcneill@NetBSD.org>2009-01-22 01:37:19 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-22 01:37:38 +0100
commit75eeea65bd7007587a2465f014cacc9472f10bde (patch)
tree64c9b9b42cda2ee618e661fea77fa33bf5493af5 /src/modules/rtp
parentbb23932e9a95f4b87d305f043f52fadd176c80bc (diff)
NetBSD needs to include sys/uio.h for some socket functions
Signed-off-by: Lennart Poettering <lennart@poettering.net>
Diffstat (limited to 'src/modules/rtp')
-rw-r--r--src/modules/rtp/rtp.c4
-rw-r--r--src/modules/rtp/sap.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/modules/rtp/rtp.c b/src/modules/rtp/rtp.c
index 88351010..c09c321f 100644
--- a/src/modules/rtp/rtp.c
+++ b/src/modules/rtp/rtp.c
@@ -35,6 +35,10 @@
#include <sys/filio.h>
#endif
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h>
+#endif
+
#include <pulsecore/core-error.h>
#include <pulsecore/log.h>
#include <pulsecore/macro.h>
diff --git a/src/modules/rtp/sap.c b/src/modules/rtp/sap.c
index b0c95aa5..7764f7bd 100644
--- a/src/modules/rtp/sap.c
+++ b/src/modules/rtp/sap.c
@@ -38,6 +38,10 @@
#include <sys/filio.h>
#endif
+#ifdef HAVE_SYS_UIO_H
+#include <sys/uio.h>
+#endif
+
#include <pulse/xmalloc.h>
#include <pulsecore/core-error.h>