summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/lock-autospawn.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-05 22:52:57 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-05 22:52:57 +0100
commit6dfb1ee27e031528891696c83230d4513c55b554 (patch)
treed17bcdf21366097589a024b6f46b33164f832448 /src/pulsecore/lock-autospawn.c
parent937c587e7720ee27b36fe736a2aa1cfd233270ec (diff)
parentf452c6cdd9e5717340807478d759ef5a03b55f1f (diff)
Merge remote branch 'zonque/topic/osx'
Diffstat (limited to 'src/pulsecore/lock-autospawn.c')
-rw-r--r--src/pulsecore/lock-autospawn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/lock-autospawn.c b/src/pulsecore/lock-autospawn.c
index 65e35634..95ca04a8 100644
--- a/src/pulsecore/lock-autospawn.c
+++ b/src/pulsecore/lock-autospawn.c
@@ -33,6 +33,7 @@
#include <pulse/i18n.h>
#include <pulse/xmalloc.h>
+#include <pulsecore/poll.h>
#include <pulsecore/mutex.h>
#include <pulsecore/thread.h>
#include <pulsecore/core-util.h>
@@ -182,7 +183,7 @@ static void wait_for_ping(void) {
pfd.fd = pipe_fd[0];
pfd.events = POLLIN;
- if ((k = poll(&pfd, 1, -1)) != 1) {
+ if ((k = pa_poll(&pfd, 1, -1)) != 1) {
pa_assert(k < 0);
pa_assert(errno == EINTR);
} else if ((s = read(pipe_fd[0], &x, 1)) != 1) {