summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--configure.ac4
-rw-r--r--openbsd-compat/getrrsetbyname.c4
3 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c746f780..b4a4d715c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
120040423
2 - (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Declare h_errno
3 as extern int if not already declared. Fixes compile errors on old SCO
4 platforms. ok tim@
5
120040421 620040421
2 - (djm) Update config.guess and config.sub to autoconf-2.59 versions; ok tim@ 7 - (djm) Update config.guess and config.sub to autoconf-2.59 versions; ok tim@
3 8
@@ -1032,4 +1037,4 @@
1032 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 1037 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
1033 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 1038 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
1034 1039
1035$Id: ChangeLog,v 1.3330 2004/04/21 02:29:13 djm Exp $ 1040$Id: ChangeLog,v 1.3331 2004/04/23 08:53:10 dtucker Exp $
diff --git a/configure.ac b/configure.ac
index 3e1ee8aae..053204d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
1# $Id: configure.ac,v 1.215 2004/04/20 10:28:56 djm Exp $ 1# $Id: configure.ac,v 1.216 2004/04/23 08:53:10 dtucker Exp $
2# 2#
3# Copyright (c) 1999-2004 Damien Miller 3# Copyright (c) 1999-2004 Damien Miller
4# 4#
@@ -860,6 +860,8 @@ AC_CHECK_DECL(tcsendbreak,
860 [#include <termios.h>] 860 [#include <termios.h>]
861) 861)
862 862
863AC_CHECK_DECLS(h_errno, , ,[#include <netdb.h>])
864
863AC_CHECK_FUNCS(setresuid, [ 865AC_CHECK_FUNCS(setresuid, [
864 dnl Some platorms have setresuid that isn't implemented, test for this 866 dnl Some platorms have setresuid that isn't implemented, test for this
865 AC_MSG_CHECKING(if setresuid seems to work) 867 AC_MSG_CHECKING(if setresuid seems to work)
diff --git a/openbsd-compat/getrrsetbyname.c b/openbsd-compat/getrrsetbyname.c
index 66d18142e..13125e11e 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 !HAVE_DECL_H_ERROR
57extern int h_errno;
58#endif
59
56struct dns_query { 60struct dns_query {
57 char *name; 61 char *name;
58 u_int16_t type; 62 u_int16_t type;