multipath-tools: replace <sys/poll.h> with <poll.h>
PATCH 1/1 multipath-tools: replace <sys/poll.h> with <poll.h>
The standard place of poll.h is in /usr/include/ Spotted by musl libc.
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- libmpathpersist/mpath_updatepr.c | 2 +- libmultipath/uevent.c | 2 +- libmultipath/uxsock.c | 2 +- multipathd/uxclnt.c | 2 +- multipathd/uxlsnr.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
libmpathpersist/mpath_updatepr.c +1 -1
@@ -9,7 +9,7 @@#include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> -#include <sys/poll.h> +#include <poll.h> #include <errno.h> #include "debug.h" #include "mpath_cmd.h"
libmultipath/uevent.c +1 -1
@@ -33,7 +33,7 @@#include <sys/socket.h> #include <sys/user.h> #include <sys/un.h> -#include <sys/poll.h> +#include <poll.h> #include <linux/types.h> #include <linux/netlink.h> #include <pthread.h>
libmultipath/uxsock.c +1 -1
@@ -13,7 +13,7 @@#include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> -#include <sys/poll.h> +#include <poll.h> #include <signal.h> #include <errno.h> #ifdef USE_SYSTEMD
multipathd/uxclnt.c +1 -1
@@ -14,7 +14,7 @@#include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> -#include <sys/poll.h> +#include <poll.h> #include <readline/readline.h> #include <readline/history.h>
multipathd/uxlsnr.c +1 -1
@@ -19,7 +19,7 @@#include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> -#include <sys/poll.h> +#include <poll.h> #include <sys/time.h> #include <signal.h> #include "checkers.h"
Signature · 1 line
2.7.4