summaryrefslogtreecommitdiff
path: root/aserver
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-07-12 10:45:18 +0200
committerTakashi Iwai <tiwai@suse.de>2017-07-12 12:05:37 +0200
commit885c64bcc48f5734da964d2da2b9a5603d7b2c8b (patch)
treea0ea50a4cc145c712602bf3e4d05e86c926223f0 /aserver
parenta9ec1a6f687a6cb4f14d3f093c2ee020b610e12d (diff)
downloadalsa-lib-885c64bcc48f5734da964d2da2b9a5603d7b2c8b.tar.gz
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>
Diffstat (limited to 'aserver')
-rw-r--r--aserver/aserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/aserver/aserver.c b/aserver/aserver.c
index ac20706b..46f731a4 100644
--- a/aserver/aserver.c
+++ b/aserver/aserver.c
@@ -20,7 +20,7 @@
#include <sys/shm.h>
#include <sys/socket.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/un.h>
#include <sys/uio.h>
#include <stdio.h>