]> git.alsa-project.org Git - alsa-lib.git/commit
cleanup: fix poll.h includes
authorNatanael Copa <ncopa@alpinelinux.org>
Wed, 12 Jul 2017 08:45:18 +0000 (10:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 12 Jul 2017 10:05:37 +0000 (12:05 +0200)
commit885c64bcc48f5734da964d2da2b9a5603d7b2c8b
treea0ea50a4cc145c712602bf3e4d05e86c926223f0
parenta9ec1a6f687a6cb4f14d3f093c2ee020b610e12d
cleanup: fix poll.h includes

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@alpinelinux.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 files changed:
aserver/aserver.c
include/asoundlib-head.h
include/local.h
src/control/control.c
src/control/control_shm.c
src/pcm/pcm.c
src/pcm/pcm_direct.c
src/pcm/pcm_mmap.c
src/pcm/pcm_share.c
src/pcm/pcm_shm.c
src/seq/seq.c
src/shmarea.c