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>
This commit is contained in:
Natanael Copa 2017-07-12 10:45:18 +02:00 committed by Takashi Iwai
parent a9ec1a6f68
commit 885c64bcc4
12 changed files with 12 additions and 12 deletions

View file

@ -47,7 +47,7 @@
#error Header defining endianness not defined
#endif
#include <stdarg.h>
#include <sys/poll.h>
#include <poll.h>
#include <sys/types.h>
#include <errno.h>
#if defined(__linux__)