dmitry Mon Apr 24 09:53:57 2006 UTC
Modified files: (Branch: PHP_5_1)
/php-src/sapi/cgi fastcgi.c
Log:
iFixed compilation on Solaris
http://cvs.php.net/viewcvs.cgi/php-src/sapi/cgi/fastcgi.c?r1=1.4.2.6&r2=1.4.2.7&diff_format=u
Index: php-src/sapi/cgi/fastcgi.c
diff -u php-src/sapi/cgi/fastcgi.c:1.4.2.6 php-src/sapi/cgi/fastcgi.c:1.4.2.7
--- php-src/sapi/cgi/fastcgi.c:1.4.2.6 Tue Apr 18 06:59:19 2006
+++ php-src/sapi/cgi/fastcgi.c Mon Apr 24 09:53:57 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fastcgi.c,v 1.4.2.6 2006/04/18 06:59:19 dmitry Exp $ */
+/* $Id: fastcgi.c,v 1.4.2.7 2006/04/24 09:53:57 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