diff options
Diffstat (limited to '')
-rw-r--r-- | dirmngr/dns-stuff.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dirmngr/dns-stuff.c b/dirmngr/dns-stuff.c index 00d2b3ee1..3fa6054d3 100644 --- a/dirmngr/dns-stuff.c +++ b/dirmngr/dns-stuff.c @@ -46,6 +46,10 @@ # include <adns.h> #endif +#if !defined(HAVE_GETADDRINFO) && !defined(USE_ADNS) +# error Either getaddrinfo or the ADNS libary is required. +#endif + #include "util.h" #include "host2net.h" #include "dns-stuff.h" |