Fix testcase compile error on OS X 10.6+, take 2

Add includes for Darwin in another test file
This commit is contained in:
Erik Ekman 2014-04-22 22:43:25 +02:00
parent 4aa078ddd9
commit 031953e295

View File

@ -24,6 +24,10 @@
#include <netinet/in.h>
#include <sys/stat.h>
#include <arpa/nameser.h>
#ifdef DARWIN
#define BIND_8_COMPAT
#include <arpa/nameser_compat.h>
#endif
#include "common.h"
#include "dns.h"