summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/rtpoll.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2007-10-03 14:43:56 +0000
committerPierre Ossman <ossman@cendio.se>2007-10-03 14:43:56 +0000
commit8dcc1fa6161c2a507d008a50a6d7f5170ce54a14 (patch)
treea1418db369adeacdf943c2f36a7b721514fa5b7d /src/pulsecore/rtpoll.h
parentef8812e89bb867f127813e1b193589a52f0f2073 (diff)
Adapt rtpoll and friends to Windows by replacing timespec with timeval and
add a fallback when clock_gettime() isn't available. git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1926 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/rtpoll.h')
-rw-r--r--src/pulsecore/rtpoll.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pulsecore/rtpoll.h b/src/pulsecore/rtpoll.h
index a1242b38..d38d0864 100644
--- a/src/pulsecore/rtpoll.h
+++ b/src/pulsecore/rtpoll.h
@@ -24,7 +24,6 @@
USA.
***/
-#include <poll.h>
#include <sys/types.h>
#include <limits.h>
@@ -75,7 +74,7 @@ void pa_rtpoll_install(pa_rtpoll *p);
* cleanly. */
int pa_rtpoll_run(pa_rtpoll *f, pa_bool_t wait);
-void pa_rtpoll_set_timer_absolute(pa_rtpoll *p, const struct timespec *ts);
+void pa_rtpoll_set_timer_absolute(pa_rtpoll *p, const struct timeval *ts);
void pa_rtpoll_set_timer_periodic(pa_rtpoll *p, pa_usec_t usec);
void pa_rtpoll_set_timer_relative(pa_rtpoll *p, pa_usec_t usec);
void pa_rtpoll_set_timer_disabled(pa_rtpoll *p);