cvs: php4 / main.c

[email protected] ("Thies C. Arntzen")
Newsgroups php.version4
Message-ID <cvsthies958733285@cvsserver>
thies		Fri May 19 12:48:05 2000 EDT

  Modified files:
    /php4	main.c 
  Log:
  fix the fix (it's still a hack)
  
  
Index: php4/main.c
diff -u php4/main.c:1.247 php4/main.c:1.248
--- php4/main.c:1.247	Fri May 19 12:40:34 2000
+++ php4/main.c	Fri May 19 12:48:05 2000
@@ -19,7 +19,7 @@
 */
 
 
-/* $Id: main.c,v 1.247 2000/05/19 10:40:34 thies Exp $ */
+/* $Id: main.c,v 1.248 2000/05/19 10:48:05 thies Exp $ */
 
 
 #include <stdio.h>
@@ -59,6 +59,11 @@
 #include <syslog.h>
 #endif
 
+#if PHP_SIGCHILD
+#include <sys/types.h>
+#include <sys/wait.h>
+#endif
+
 #include "zend_compile.h"
 #include "zend_execute.h"
 #include "zend_highlight.h"
@@ -638,7 +643,7 @@
 
 
 #if PHP_SIGCHILD
-static int sigchld_handler(int apar)
+static void sigchld_handler(int apar)
 {
     while (waitpid(-1, NULL, WNOHANG) > 0)
 		;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.