From 991d95f4125ca1ce40bb7d469b69b1e174b78967 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Thu, 13 May 2004 20:24:10 +1000 Subject: [PATCH] - (dtucker) [openbsd-compat/getrrsetbyname.c] Fix typo too: HAVE_DECL_H_ERROR -> HAVE_DECL_H_ERRNO. --- ChangeLog | 4 +++- openbsd-compat/getrrsetbyname.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 15016875c..32f964d47 100644 --- a/ChangeLog +++ b/ChangeLog @@ -40,6 +40,8 @@ readpass.h, grep says scard-opensc.c does too. Replace with misc.h. - (dtucker) [openbsd-compat/getrrsetbyname.c] Check that HAVE_DECL_H_ERROR is defined before using. + - (dtucker) [openbsd-compat/getrrsetbyname.c] Fix typo too: HAVE_DECL_H_ERROR + -> HAVE_DECL_H_ERRNO. 20040502 - (dtucker) OpenBSD CVS Sync @@ -1116,4 +1118,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.3354 2004/05/13 10:10:38 dtucker Exp $ +$Id: ChangeLog,v 1.3355 2004/05/13 10:24:10 dtucker Exp $ diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c index 154cc29b0..660427c1f 100644 --- a/openbsd-compat/getrrsetbyname.c +++ b/openbsd-compat/getrrsetbyname.c @@ -53,7 +53,7 @@ #define ANSWER_BUFFER_SIZE 1024*64 -#if defined(HAVE_DECL_H_ERROR) && !HAVE_DECL_H_ERROR +#if defined(HAVE_DECL_H_ERRNO) && !HAVE_DECL_H_ERRNO extern int h_errno; #endif