diff options
Diffstat (limited to 'openbsd-compat/getrrsetbyname.c')
-rw-r--r-- | openbsd-compat/getrrsetbyname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c index 98876673d..dc6fe0533 100644 --- a/openbsd-compat/getrrsetbyname.c +++ b/openbsd-compat/getrrsetbyname.c | |||
@@ -47,7 +47,7 @@ | |||
47 | 47 | ||
48 | #include "includes.h" | 48 | #include "includes.h" |
49 | 49 | ||
50 | #ifndef HAVE_GETRRSETBYNAME | 50 | #if !defined (HAVE_GETRRSETBYNAME) && !defined (HAVE_LDNS) |
51 | 51 | ||
52 | #include <stdlib.h> | 52 | #include <stdlib.h> |
53 | #include <string.h> | 53 | #include <string.h> |
@@ -607,4 +607,4 @@ count_dns_rr(struct dns_rr *p, u_int16_t class, u_int16_t type) | |||
607 | return (n); | 607 | return (n); |
608 | } | 608 | } |
609 | 609 | ||
610 | #endif /* !defined(HAVE_GETRRSETBYNAME) */ | 610 | #endif /* !defined (HAVE_GETRRSETBYNAME) && !defined (HAVE_LDNS) */ |