From d0a956c2b72e5fd9956fb815606aa7139df40957 Mon Sep 17 00:00:00 2001 From: Jani Taskinen Date: Mon, 21 Dec 2009 15:22:40 +0000 Subject: [PATCH] - Tune the fix for bug #50508 and make it work with MacOSX, bug #50541. --- ext/standard/dns.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/standard/dns.c b/ext/standard/dns.c index 30ffdd6dc5..6eb904ce70 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 -- 2.40.0