core-rtclock: Add missing declaration of struct timespec
authorKamil Rytarowski <n54@gmx.com>
Tue, 8 Dec 2015 01:52:08 +0000 (02:52 +0100)
committerArun Raghavan <git@arunraghavan.net>
Tue, 8 Dec 2015 03:20:10 +0000 (08:50 +0530)
src/pulsecore/core-rtclock.h

index 11bfcc9..89ad237 100644 (file)
@@ -42,6 +42,8 @@ void pa_rtclock_hrtimer_enable(void);
 struct timeval* pa_rtclock_from_wallclock(struct timeval *tv);
 
 #ifdef HAVE_CLOCK_GETTIME
+struct timespec;
+
 pa_usec_t pa_timespec_load(const struct timespec *ts);
 struct timespec* pa_timespec_store(struct timespec *ts, pa_usec_t v);
 #endif