summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2009-04-02 19:06:47 +0000
committerGravatar Karl Ramm <kcr@1ts.org>2009-04-02 19:06:47 +0000
commitbd7d19660c8d07b80f6da715f37a06ca9c0cca4b (patch)
tree2fa64518be84939524f5e36f7a3935833a441df1
parentb45c51ec03b86b8fbcae48ec7dda1cd8da56577f (diff)
further arpa/nameser_compat.h hijinks for #39
-rw-r--r--h/internal.h3
-rw-r--r--zwgc/main.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/h/internal.h b/h/internal.h
index 2869543..e0434bd 100644
--- a/h/internal.h
+++ b/h/internal.h
@@ -25,6 +25,9 @@
#ifndef REALM_SZ /* XXX */
#include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
#define REALM_SZ NS_MAXDNAME
#endif
#define MAX_PRINCIPAL_SIZE 1024
diff --git a/zwgc/main.c b/zwgc/main.c
index 84e087d..2ad8736 100644
--- a/zwgc/main.c
+++ b/zwgc/main.c
@@ -22,6 +22,9 @@ static const char rcsid_main_c[] = "$Id$";
#include <netdb.h>
#include <arpa/nameser.h>
+#ifdef HAVE_ARPA_NAMESER_COMPAT_H
+#include <arpa/nameser_compat.h>
+#endif
#include <sys/socket.h>
#include <sys/resource.h>
#include <zephyr/mit-copyright.h>