summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/rtclock.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/rtclock.h')
-rw-r--r--src/pulsecore/rtclock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pulsecore/rtclock.h b/src/pulsecore/rtclock.h
index 0d232a04..72bbd5e9 100644
--- a/src/pulsecore/rtclock.h
+++ b/src/pulsecore/rtclock.h
@@ -24,13 +24,15 @@
USA.
***/
+#include <pulsecore/macro.h>
+
struct timeval;
/* Something like pulse/timeval.h but based on CLOCK_MONOTONIC */
struct timeval *pa_rtclock_get(struct timeval *ts);
pa_usec_t pa_rtclock_age(const struct timeval *tv);
-int pa_rtclock_hrtimer(void);
+pa_bool_t pa_rtclock_hrtimer(void);
/* timer with a resolution better than this are considered high-resolution */
#define PA_HRTIMER_THRESHOLD_USEC 10