summaryrefslogtreecommitdiffstats
path: root/src/modules/rtp/sap.c
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/sap.c
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/sap.c')
-rw-r--r--src/modules/rtp/sap.c4
1 files changed, 4 insertions, 0 deletions
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>