diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-01-05 22:52:57 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-01-05 22:52:57 +0100 |
commit | 6dfb1ee27e031528891696c83230d4513c55b554 (patch) | |
tree | d17bcdf21366097589a024b6f46b33164f832448 /src/tests/lock-autospawn-test.c | |
parent | 937c587e7720ee27b36fe736a2aa1cfd233270ec (diff) | |
parent | f452c6cdd9e5717340807478d759ef5a03b55f1f (diff) |
Merge remote branch 'zonque/topic/osx'
Diffstat (limited to 'src/tests/lock-autospawn-test.c')
-rw-r--r-- | src/tests/lock-autospawn-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/lock-autospawn-test.c b/src/tests/lock-autospawn-test.c index c754e230..6f7156d7 100644 --- a/src/tests/lock-autospawn-test.c +++ b/src/tests/lock-autospawn-test.c @@ -23,9 +23,9 @@ #include <config.h> #endif -#include <sys/poll.h> #include <string.h> +#include <pulsecore/poll.h> #include <pulsecore/macro.h> #include <pulsecore/thread.h> #include <pulsecore/lock-autospawn.h> @@ -69,7 +69,7 @@ static void thread_func2(void *k) { pollfd.fd = fd; pollfd.events = POLLIN; - pa_assert_se(poll(&pollfd, 1, -1) == 1); + pa_assert_se(pa_poll(&pollfd, 1, -1) == 1); pa_log("%i, woke up", PA_PTR_TO_INT(k)); } |