summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pulse/mainloop.c4
-rw-r--r--src/pulse/thread-mainloop.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pulse/mainloop.c b/src/pulse/mainloop.c
index bab8eb5c..ad4e4e97 100644
--- a/src/pulse/mainloop.c
+++ b/src/pulse/mainloop.c
@@ -34,8 +34,8 @@
#include <fcntl.h>
#include <errno.h>
-#ifdef HAVE_SYS_POLL_H
-#include <sys/poll.h>
+#ifdef HAVE_POLL_H
+#include <poll.h>
#else
#include <pulsecore/poll.h>
#endif
diff --git a/src/pulse/thread-mainloop.c b/src/pulse/thread-mainloop.c
index 30685705..9dd47ae3 100644
--- a/src/pulse/thread-mainloop.c
+++ b/src/pulse/thread-mainloop.c
@@ -29,8 +29,8 @@
#include <signal.h>
#include <stdio.h>
-#ifdef HAVE_SYS_POLL_H
-#include <sys/poll.h>
+#ifdef HAVE_POLL_H
+#include <poll.h>
#else
#include <pulsecore/poll.h>
#endif