dmitry Mon Apr 24 09:56:56 2006 UTC
Modified files:
/php-src/sapi/cgi fastcgi.c
Log:
Fixed compilation on Solaris
http://cvs.php.net/viewcvs.cgi/php-src/sapi/cgi/fastcgi.c?r1=1.7&r2=1.8&diff_format=u
Index: php-src/sapi/cgi/fastcgi.c
diff -u php-src/sapi/cgi/fastcgi.c:1.7 php-src/sapi/cgi/fastcgi.c:1.8
--- php-src/sapi/cgi/fastcgi.c:1.7 Tue Apr 18 06:59:31 2006
+++ php-src/sapi/cgi/fastcgi.c Mon Apr 24 09:56:56 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fastcgi.c,v 1.7 2006/04/18 06:59:31 dmitry Exp $ */
+/* $Id: fastcgi.c,v 1.8 2006/04/24 09:56:56 dmitry Exp $ */
#include "fastcgi.h"
#include "php.h"
@@ -71,6 +71,10 @@
# include <netdb.h>
# include <sys/signal.h>
+#ifndef INADDR_NONE
+#define INADDR_NONE ((unsigned long) -1)
+#endif
+
# ifndef HAVE_SOCKLEN_T
typedef unsigned int socklen_t;
# endif
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php