[pulseaudio-discuss] [PATCH] NetBSD: Add missing declaration of struct timespec
Arun Raghavan
arun at accosted.net
Mon Dec 7 18:53:47 PST 2015
On 8 December 2015 at 07:22, Kamil Rytarowski <n54 at gmx.com> wrote:
> ---
> src/pulsecore/core-rtclock.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/pulsecore/core-rtclock.h b/src/pulsecore/core-rtclock.h
> index 11bfcc9..a5327e8 100644
> --- a/src/pulsecore/core-rtclock.h
> +++ b/src/pulsecore/core-rtclock.h
> @@ -42,6 +42,7 @@ 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
> --
Should we not just be including <time.h> instead?
-- Arun
More information about the pulseaudio-discuss
mailing list