]> git.alsa-project.org Git - alsa-utils.git/commitdiff
treewide: sys/poll to poll
authorRosen Penev <rosenp@gmail.com>
Wed, 20 Nov 2019 04:28:53 +0000 (20:28 -0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 20 Nov 2019 18:44:02 +0000 (19:44 +0100)
Fixes warning on musl:

warning redirecting incorrect #include <sys/poll.h> to <poll.h>

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
amidi/amidi.c
amixer/amixer.c
aplay/aplay.c
seq/aplaymidi/arecordmidi.c
seq/aseqdump/aseqdump.c

index b6e05e15903148c7c51bdcf5cb488d3cb1c3ce62..c6268e4c2ccd06d4711af2fa70921724d26cb4d8 100644 (file)
@@ -31,7 +31,7 @@
 #include <signal.h>
 #include <sys/timerfd.h>
 #include <sys/types.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/stat.h>
 #include <unistd.h>
 #include <fcntl.h>
index ad9c482e87e4eb75363c199718513630dbbd0a52..f7f31f0167fb9cdb1ac79b840ca798ad3c4bb114 100644 (file)
@@ -28,7 +28,7 @@
 #include <errno.h>
 #include <assert.h>
 #include <alsa/asoundlib.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <stdint.h>
 #include "amixer.h"
 #include "../alsamixer/volume_mapping.h"
index 274bbce33dd2231a1e050cdea48ab373e817ade7..52410684b47eac2793fe594dbd74cb6aed66cb81 100644 (file)
@@ -44,7 +44,7 @@
 #include <assert.h>
 #include <termios.h>
 #include <signal.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/uio.h>
 #include <sys/time.h>
 #include <sys/stat.h>
index f3db65ee8b91757d9a0bfeacaff9b48467b6a77f..604cd0d29722008d205b5f8422cca0fbcf10c895 100644 (file)
@@ -27,7 +27,7 @@
 #include <string.h>
 #include <signal.h>
 #include <getopt.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <alsa/asoundlib.h>
 #include "aconfig.h"
 #include "version.h"
index 790454020259803679dc0e582e9f7298363766ca..578e06fbcb22809269b2a72d66ab81d118a6e795 100644 (file)
@@ -25,7 +25,7 @@
 #include <string.h>
 #include <signal.h>
 #include <getopt.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <alsa/asoundlib.h>
 #include "aconfig.h"
 #include "version.h"