From: Dmitry Stogov Date: Mon, 24 Apr 2006 09:53:57 +0000 (+0000) Subject: iFixed compilation on Solaris X-Git-Tag: php-5.1.3~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b973c86eea86092230079000959e5cc24277e37;p=php iFixed compilation on Solaris --- diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index af246dba55..727c48a112 100644 --- a/sapi/cgi/fastcgi.c +++ b/sapi/cgi/fastcgi.c @@ -71,6 +71,10 @@ # include # include +#ifndef INADDR_NONE +#define INADDR_NONE ((unsigned long) -1) +#endif + # ifndef HAVE_SOCKLEN_T typedef unsigned int socklen_t; # endif