Fix testcase compile error on OS X 10.6+

Apply old fix from ticket #79 also to test code.
This commit is contained in:
Erik Ekman 2014-04-22 22:24:11 +02:00
parent 50d7865967
commit 4aa078ddd9

View File

@ -20,7 +20,8 @@
#include <sys/stat.h>
#include <arpa/nameser.h>
#ifdef DARWIN
#include <arpa/nameser8_compat.h>
#define BIND_8_COMPAT
#include <arpa/nameser_compat.h>
#endif
#include <stdio.h>
#include <stdint.h>