diff options
Diffstat (limited to 'openbsd-compat/getrrsetbyname.c')
-rw-r--r-- | openbsd-compat/getrrsetbyname.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c index 66d18142e..660427c1f 100644 --- a/openbsd-compat/getrrsetbyname.c +++ b/openbsd-compat/getrrsetbyname.c | |||
@@ -53,6 +53,10 @@ | |||
53 | 53 | ||
54 | #define ANSWER_BUFFER_SIZE 1024*64 | 54 | #define ANSWER_BUFFER_SIZE 1024*64 |
55 | 55 | ||
56 | #if defined(HAVE_DECL_H_ERRNO) && !HAVE_DECL_H_ERRNO | ||
57 | extern int h_errno; | ||
58 | #endif | ||
59 | |||
56 | struct dns_query { | 60 | struct dns_query { |
57 | char *name; | 61 | char *name; |
58 | u_int16_t type; | 62 | u_int16_t type; |