From 031953e29523c43bf9b9a6a6704cca166a9e74d2 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Tue, 22 Apr 2014 22:43:25 +0200 Subject: [PATCH] Fix testcase compile error on OS X 10.6+, take 2 Add includes for Darwin in another test file --- tests/dns.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/dns.c b/tests/dns.c index b05178c..9e89027 100644 --- a/tests/dns.c +++ b/tests/dns.c @@ -24,6 +24,10 @@ #include #include #include +#ifdef DARWIN +#define BIND_8_COMPAT +#include +#endif #include "common.h" #include "dns.h"