[dm-devel] [PATCH] multipath-tools: replace <wait.h> with <sys/wait.h>

Xose Vazquez Perez xose.vazquez at gmail.com
Thu Jul 21 22:01:15 UTC 2016


The standard place of wait.h is under /usr/include/sys/
Spotted by musl libc.

Cc: Christophe Varoqui <christophe.varoqui at opensvc.com>
Cc: device-mapper development <dm-devel at redhat.com>
Signed-off-by: Xose Vazquez Perez <xose.vazquez at gmail.com>
---
 multipathd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multipathd/main.c b/multipathd/main.c
index 1799cbe..337ec87 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -7,7 +7,7 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <libdevmapper.h>
-#include <wait.h>
+#include <sys/wait.h>
 #include <sys/mman.h>
 #include <sys/types.h>
 #include <fcntl.h>
-- 
2.7.4




More information about the dm-devel mailing list