diff options
-rw-r--r-- | h/internal.h | 3 | ||||
-rw-r--r-- | zwgc/main.c | 3 |
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> |