From: Dmitry Stogov Date: Mon, 24 Apr 2006 09:56:56 +0000 (+0000) Subject: Fixed compilation on Solaris X-Git-Tag: RELEASE_1_3~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=09d628c62dee6c4e52520cc8af0b58fbb934716c;p=php Fixed compilation on Solaris --- diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 7bb750dd0e..790854b9ec 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