From: Ilia Alshanetsky Date: Wed, 10 Aug 2011 15:59:32 +0000 (+0000) Subject: Fix win32 build X-Git-Tag: php-5.4.0beta1~448 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4a64006ab0f4d129224bd8227d8d1af37827132;p=php Fix win32 build --- diff --git a/ext/standard/dns.c b/ext/standard/dns.c index dc0ab59367..d0979a32f9 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 */