[alsa-devel] [PATCH - alsa-lib 1/2] cleanup: fix poll.h includes

Takashi Iwai tiwai at suse.de
Wed Jul 12 12:09:37 CEST 2017


On Wed, 12 Jul 2017 10:45:18 +0200,
Natanael Copa wrote:
> 
> According POSIX[1] and linux manpage[2] the include is poll.h, not
> sys/poll.h.
> 
> This fixes the he following compiler warning when build with musl libc:
> 
>   /usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
>    #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
>     ^~~~~~~
> 
> Signed-off-by: Natanael Copa <ncopa at alpinelinux.org>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list