From: Ilia Alshanetsky Date: Wed, 10 Aug 2011 15:59:32 +0000 (+0000) Subject: Fix win32 build X-Git-Tag: php-5.3.7RC5~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9fd373d8b66f2ac8a52bda6d43e3cbc875f317d5;p=php Fix win32 build --- diff --git a/ext/standard/dns.c b/ext/standard/dns.c index 9373e87560..4ad26bb6e2 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -62,6 +62,10 @@ #define AF_INET 2 /* internetwork: UDP, TCP, etc. */ #endif +#ifndef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN 255 +#endif + #include "php_dns.h" /* type compat */