[pulseaudio-discuss] [PATCH] NetBSD: Add missing declaration of struct timespec

Arun Raghavan arun at accosted.net
Mon Dec 7 19:18:36 PST 2015


On 8 December 2015 at 08:32, Kamil Rytarowski <n54 at gmx.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> On 08.12.2015 03:53, Arun Raghavan wrote:
>> Should we not just be including <time.h> instead?
>>
>> -- Arun
>
> Including whole header isn't needed.
>
> For the definition of struct timespec we can cherry-pick from a
> variety of headers, for example <signal.h>.
>
> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html
>
> I'm OK with any solution solving this issue.

Okay, I see now. Thanks, pushing this patch. Modified commit message
slightly for consistency.

Cheers,
Arun


More information about the pulseaudio-discuss mailing list