multipath-tools: replace <wait.h> with <sys/wait.h>
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]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- multipathd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
multipathd/main.c +1 -1
@@ -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
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.his under/usr/include/sys/Spotted by musl libc.Cc Christophe Varoqui <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- multipathd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)multipathd/main.c +1
-2@@ -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