diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 7bb750dd0ee..790854b9ec2 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