From 92437e9db1d044e2cb5360591addcc6e898aa02b Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Fri, 19 May 2000 10:48:05 +0000 Subject: [PATCH] fix the fix (it's still a hack) --- main/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) ; -- 2.50.1