summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/fdsem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/fdsem.c')
-rw-r--r--src/pulsecore/fdsem.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pulsecore/fdsem.c b/src/pulsecore/fdsem.c
index b919ba41..927bf00c 100644
--- a/src/pulsecore/fdsem.c
+++ b/src/pulsecore/fdsem.c
@@ -25,7 +25,10 @@
#include <config.h>
#endif
+#ifdef HAVE_SYS_SYSCALL_H
#include <sys/syscall.h>
+#endif
+
#include <unistd.h>
#include <errno.h>
@@ -36,6 +39,10 @@
#include <pulsecore/core-util.h>
#include <pulse/xmalloc.h>
+#ifndef HAVE_PIPE
+#include <pulsecore/pipe.h>
+#endif
+
#ifdef __linux__
#if !defined(__NR_eventfd) && defined(__i386__)