From: Thies C. Arntzen Date: Fri, 19 May 2000 10:48:05 +0000 (+0000) Subject: fix the fix (it's still a hack) X-Git-Tag: php-4.0.0~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92437e9db1d044e2cb5360591addcc6e898aa02b;p=php fix the fix (it's still a hack) --- diff --git a/main/main.c b/main/main.c index 93a60a048f..3b039fc7bc 100644 --- a/main/main.c +++ b/main/main.c @@ -59,6 +59,11 @@ #include #endif +#if PHP_SIGCHILD +#include +#include +#endif + #include "zend_compile.h" #include "zend_execute.h" #include "zend_highlight.h" @@ -638,7 +643,7 @@ static void php_message_handler_for_zend(long message, void *data) #if PHP_SIGCHILD -static int sigchld_handler(int apar) +static void sigchld_handler(int apar) { while (waitpid(-1, NULL, WNOHANG) > 0) ;