diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2011-08-10 15:59:32 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2011-08-10 15:59:32 +0000 |
commit | 9fd373d8b66f2ac8a52bda6d43e3cbc875f317d5 (patch) | |
tree | c400ba2d0c1d68dcbd92e0dc198944414b248592 | |
parent | 4ef26e23794058e141fc682f2ba1172577ed2ad1 (diff) | |
download | php-git-9fd373d8b66f2ac8a52bda6d43e3cbc875f317d5.tar.gz |
Fix win32 build
-rw-r--r-- | ext/standard/dns.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |