Re: [PATCH] ALSA: uapi: #include <time.h> in asound.h

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

 



On Fri, 29 Mar 2019 23:48:54 +0100,
Daniel Mentz wrote:
> 
> The uapi header asound.h defines types based on struct timespec. We need
> to #include <time.h> to get access to the definition of this struct.
> 
> Previously, we encountered the following error message when building
> applications with a clang/bionic toolchain:
> 
> kernel-headers/sound/asound.h:350:19: error: field has incomplete type 'struct timespec'
>   struct timespec trigger_tstamp;
>                   ^
> 
> The absence of the time.h #include statement does not cause build errors
> with glibc, because its version of stdlib.h indirectly includes time.h.
> 
> Signed-off-by: Daniel Mentz <danielmentz@xxxxxxxxxx>

Applied, thanks.


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux