diff options
| author | Dmitry Stogov <dmitry@php.net> | 2006-04-24 09:53:57 +0000 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@php.net> | 2006-04-24 09:53:57 +0000 |
| commit | 5b973c86eea86092230079000959e5cc24277e37 (patch) | |
| tree | 3b4ebbe21566b153d2289f589565ea6494a810bb /sapi/cgi/fastcgi.c | |
| parent | c86e96db11883fb14cfdbd06006dd570590439c3 (diff) | |
| download | php-git-5b973c86eea86092230079000959e5cc24277e37.tar.gz | |
iFixed compilation on Solaris
Diffstat (limited to 'sapi/cgi/fastcgi.c')
| -rw-r--r-- | sapi/cgi/fastcgi.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <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 |
