All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] multipath-tools: replace <sys/poll.h> with <poll.h>
@ 2016-07-21 19:29 Xose Vazquez Perez
  0 siblings, 0 replies; only message in thread
From: Xose Vazquez Perez @ 2016-07-21 19:29 UTC (permalink / raw)
  Cc: device-mapper development, Xose Vazquez Perez

The standard place of poll.h is in /usr/include/
Spotted by musl libc.

Cc: Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 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(-)

diff --git a/libmpathpersist/mpath_updatepr.c b/libmpathpersist/mpath_updatepr.c
index be73de4..9ff4b30 100644
--- a/libmpathpersist/mpath_updatepr.c
+++ b/libmpathpersist/mpath_updatepr.c
@@ -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"
diff --git a/libmultipath/uevent.c b/libmultipath/uevent.c
index ca41d35..5f3204b 100644
--- a/libmultipath/uevent.c
+++ b/libmultipath/uevent.c
@@ -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>
diff --git a/libmultipath/uxsock.c b/libmultipath/uxsock.c
index f6d4ffa..775e278 100644
--- a/libmultipath/uxsock.c
+++ b/libmultipath/uxsock.c
@@ -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
diff --git a/multipathd/uxclnt.c b/multipathd/uxclnt.c
index 109a217..62ff6f4 100644
--- a/multipathd/uxclnt.c
+++ b/multipathd/uxclnt.c
@@ -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>
 
diff --git a/multipathd/uxlsnr.c b/multipathd/uxlsnr.c
index 8ab55ea..0159648 100644
--- a/multipathd/uxlsnr.c
+++ b/multipathd/uxlsnr.c
@@ -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"
-- 
2.7.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-07-21 19:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-21 19:29 [PATCH] multipath-tools: replace <sys/poll.h> with <poll.h> Xose Vazquez Perez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.