Message ID | 20181102114908.7127-1-christian.storm@siemens.com |
---|---|
State | Accepted |
Headers | show |
Series | shell_scripthandler: add missing wait.h include | expand |
On 02/11/18 12:49, Christian Storm wrote: > WIFEXITED and WEXITSTATUS are missing. > > Signed-off-by: Christian Storm <christian.storm@siemens.com> > --- > handlers/shell_scripthandler.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/handlers/shell_scripthandler.c b/handlers/shell_scripthandler.c > index 746d320..6d5e05e 100644 > --- a/handlers/shell_scripthandler.c > +++ b/handlers/shell_scripthandler.c > @@ -8,6 +8,7 @@ > > #include <sys/types.h> > #include <stdio.h> > +#include <sys/wait.h> > #include <sys/stat.h> > #include <unistd.h> > #include <fcntl.h> > Applied to -master, thanks ! Best regards, Stefano Babic
diff --git a/handlers/shell_scripthandler.c b/handlers/shell_scripthandler.c index 746d320..6d5e05e 100644 --- a/handlers/shell_scripthandler.c +++ b/handlers/shell_scripthandler.c @@ -8,6 +8,7 @@ #include <sys/types.h> #include <stdio.h> +#include <sys/wait.h> #include <sys/stat.h> #include <unistd.h> #include <fcntl.h>
WIFEXITED and WEXITSTATUS are missing. Signed-off-by: Christian Storm <christian.storm@siemens.com> --- handlers/shell_scripthandler.c | 1 + 1 file changed, 1 insertion(+)