diff mbox series

shell_scripthandler: add missing wait.h include

Message ID 20181102114908.7127-1-christian.storm@siemens.com
State Accepted
Headers show
Series shell_scripthandler: add missing wait.h include | expand

Commit Message

Storm, Christian Nov. 2, 2018, 11:49 a.m. UTC
WIFEXITED and WEXITSTATUS are missing.

Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 handlers/shell_scripthandler.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefano Babic Nov. 7, 2018, 10:12 a.m. UTC | #1
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 mbox series

Patch

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>