Skip to contentSkip to conversation

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

PATCH In review Xose Vazquez Perez 2 participants 2 messages Jul 21, 2016 – Jul 22, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: replace <wait.h> with <sys/wait.h>

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

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipathd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
multipathd/main.c +1 -1
index 1799cbe..337ec87 100644
@@ -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>
Signature · 1 line
2.7.4
#1 lore raw

I merged all the pending 'include'-related patches. Thanks.

On Fri, Jul 22, 2016 at 12:01 AM, Xose Vazquez Perez <[email protected]

Quoted 29 lines

wrote:

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

Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
---
 multipathd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
multipathd/main.c +1 -2
index 1799cbe..337ec87 100644
@@ -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