Skip to contentSkip to conversation

multipath-tools: replace <sys/poll.h> with <poll.h>

PATCH New Xose Vazquez Perez 1 participant 1 message Jul 21, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

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]>
---
 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
index be73de4..9ff4b30 100644
@@ -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
index ca41d35..5f3204b 100644
@@ -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
index f6d4ffa..775e278 100644
@@ -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
index 109a217..62ff6f4 100644
@@ -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
index 8ab55ea..0159648 100644
@@ -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