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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

On Fri, Jul 22, 2016 at 12:01 AM, Xose Vazquez Perez <xose.vazquez@xxxxxxxxx> wrote:
The standard place of wait.h is under /usr/include/sys/
Spotted by musl libc.

Cc: Christophe Varoqui <christophe.varoqui@xxxxxxxxxxx>
Cc: device-mapper development <dm-devel@xxxxxxxxxx>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@xxxxxxxxx>
---
 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


--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux