summaryrefslogtreecommitdiff
path: root/src/pluto/constants.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluto/constants.c')
-rw-r--r--src/pluto/constants.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pluto/constants.c b/src/pluto/constants.c
index ec7bfaf78..73ec0bc54 100644
--- a/src/pluto/constants.c
+++ b/src/pluto/constants.c
@@ -1105,6 +1105,8 @@ bool subnetisnone(const ip_subnet *sn)
return isanyaddr(&base) && subnetishost(sn);
}
+#ifdef ADNS
+
/* BIND enumerated types */
#include <arpa/nameser.h>
@@ -1169,6 +1171,8 @@ static const char *const rr_class_name[] = {
enum_names rr_class_names = { C_IN, C_IN, rr_class_name, NULL };
+#endif /* ADNS */
+
/*
* NAT-Traversal defines for nat_traveral type from nat_traversal.h
*