From: Jani Taskinen Date: Mon, 21 Dec 2009 15:22:40 +0000 (+0000) Subject: - Tune the fix for bug #50508 and make it work with MacOSX, bug #50541. X-Git-Tag: php-5.4.0alpha1~191^2~2193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ac895201ee3ada455306472328103d312906519;p=php - Tune the fix for bug #50508 and make it work with MacOSX, bug #50541. --- diff --git a/ext/standard/dns.c b/ext/standard/dns.c index 6537494800..70c886e4c2 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -44,6 +44,9 @@ #undef T_UNSPEC #endif #if HAVE_ARPA_NAMESER_H +#ifdef DARWIN +# define BIND_8_COMPAT 1 +#endif #include #endif #if HAVE_RESOLV_H