[PATCH] NetBSD: Add missing declaration of struct timespec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux