diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-05-13 20:10:38 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-05-13 20:10:38 +1000 |
commit | cc2685577b71e6b4722410e85305cf1d8e317166 (patch) | |
tree | fcb9810c5178c0fcc8a8f5b8b6d47e1f2c74aedd /openbsd-compat/getrrsetbyname.c | |
parent | b6db172a79bed9014d152c3df4003f689b6ccf39 (diff) |
- (dtucker) [openbsd-compat/getrrsetbyname.c] Check that HAVE_DECL_H_ERROR
is defined before using.
Diffstat (limited to 'openbsd-compat/getrrsetbyname.c')
-rw-r--r-- | openbsd-compat/getrrsetbyname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c index 13125e11..154cc29b 100644 --- a/openbsd-compat/getrrsetbyname.c +++ b/openbsd-compat/getrrsetbyname.c @@ -53,7 +53,7 @@ #define ANSWER_BUFFER_SIZE 1024*64 -#if !HAVE_DECL_H_ERROR +#if defined(HAVE_DECL_H_ERROR) && !HAVE_DECL_H_ERROR extern int h_errno; #endif |