Message ID | 1469138475-24059-1-git-send-email-xose.vazquez@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
I merged all the pending 'include'-related patches. Thanks. On Fri, Jul 22, 2016 at 12:01 AM, Xose Vazquez Perez <xose.vazquez@gmail.com > wrote: > The standard place of wait.h is under /usr/include/sys/ > Spotted by musl libc. > > Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> > Cc: device-mapper development <dm-devel@redhat.com> > Signed-off-by: Xose Vazquez Perez <xose.vazquez@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 > > -- dm-devel mailing list dm-devel@redhat.com https://www.redhat.com/mailman/listinfo/dm-devel
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>
The standard place of wait.h is under /usr/include/sys/ Spotted by musl libc. Cc: Christophe Varoqui <christophe.varoqui@opensvc.com> Cc: device-mapper development <dm-devel@redhat.com> Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com> --- multipathd/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)