summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-05-13 20:10:38 +1000
committerDarren Tucker <dtucker@zip.com.au>2004-05-13 20:10:38 +1000
commitcc2685577b71e6b4722410e85305cf1d8e317166 (patch)
treefcb9810c5178c0fcc8a8f5b8b6d47e1f2c74aedd
parentb6db172a79bed9014d152c3df4003f689b6ccf39 (diff)
- (dtucker) [openbsd-compat/getrrsetbyname.c] Check that HAVE_DECL_H_ERROR
is defined before using.
-rw-r--r--ChangeLog4
-rw-r--r--openbsd-compat/getrrsetbyname.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d00007853..15016875c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -38,6 +38,8 @@
38 UsePAM section. Parts from djm@ and jmc@. 38 UsePAM section. Parts from djm@ and jmc@.
39 - (dtucker) [auth-pam.c scard-opensc.c] Tinderbox says auth-pam.c uses 39 - (dtucker) [auth-pam.c scard-opensc.c] Tinderbox says auth-pam.c uses
40 readpass.h, grep says scard-opensc.c does too. Replace with misc.h. 40 readpass.h, grep says scard-opensc.c does too. Replace with misc.h.
41 - (dtucker) [openbsd-compat/getrrsetbyname.c] Check that HAVE_DECL_H_ERROR
42 is defined before using.
41 43
4220040502 4420040502
43 - (dtucker) OpenBSD CVS Sync 45 - (dtucker) OpenBSD CVS Sync
@@ -1114,4 +1116,4 @@
1114 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1116 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1115 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1117 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1116 1118
1117$Id: ChangeLog,v 1.3353 2004/05/13 07:29:35 dtucker Exp $ 1119$Id: ChangeLog,v 1.3354 2004/05/13 10:10:38 dtucker Exp $
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c
index 13125e11e..154cc29b0 100644
--- a/openbsd-compat/getrrsetbyname.c
+++ b/openbsd-compat/getrrsetbyname.c
@@ -53,7 +53,7 @@
53 53
54#define ANSWER_BUFFER_SIZE 1024*64 54#define ANSWER_BUFFER_SIZE 1024*64
55 55
56#if !HAVE_DECL_H_ERROR 56#if defined(HAVE_DECL_H_ERROR) && !HAVE_DECL_H_ERROR
57extern int h_errno; 57extern int h_errno;
58#endif 58#endif
59 59