summaryrefslogtreecommitdiff
path: root/lib/ZInit.c
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-04-02 14:54:10 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-04-02 14:54:10 +0000
commitb45c51ec03b86b8fbcae48ec7dda1cd8da56577f (patch)
tree1b55c2aa6a8087ee55b341b810b043bb80e110c0 /lib/ZInit.c
parent758979088d1023e59e06ca36ab1ee3d172d45e50 (diff)
Explicitly #include <arpa/nameser_compat.h> if it exists.
Diffstat (limited to 'lib/ZInit.c')
-rw-r--r--lib/ZInit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ZInit.c b/lib/ZInit.c
index dc3b418..6a9149a 100644
--- a/lib/ZInit.c
+++ b/lib/ZInit.c
@@ -224,6 +224,9 @@ struct sockaddr_in ZGetDestAddr (void) {
#include <ctype.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
#include <resolv.h>
static int txt_lookup(char *qname, char **result) {