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.2.13RC1~91 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ba2988958520ca1010361cc1c6b6e558a2af476;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 1401785094..f31f742a66 100644 --- a/ext/standard/dns.c +++ b/ext/standard/dns.c @@ -56,6 +56,9 @@ #undef T_UNSPEC #endif #if HAVE_ARPA_NAMESER_H +#ifdef DARWIN +# define BIND_8_COMPAT 1 +#endif #include #endif #if HAVE_RESOLV_H