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

Christophe Varoqui christophe.varoqui at opensvc.com
Fri Jul 22 09:41:22 UTC 2016


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

On Fri, Jul 22, 2016 at 12:01 AM, Xose Vazquez Perez <xose.vazquez at gmail.com
> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160722/e322839f/attachment.htm>


More information about the dm-devel mailing list