From 5bb140019c1fc16ddd66cf8408f2489fd5db03cb Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 23 Apr 2004 18:53:10 +1000 Subject: - (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Declare h_errno as extern int if not already declared. Fixes compile errors on old SCO platforms. ok tim@ --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3e1ee8aae..053204d74 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.215 2004/04/20 10:28:56 djm Exp $ +# $Id: configure.ac,v 1.216 2004/04/23 08:53:10 dtucker Exp $ # # Copyright (c) 1999-2004 Damien Miller # @@ -860,6 +860,8 @@ AC_CHECK_DECL(tcsendbreak, [#include ] ) +AC_CHECK_DECLS(h_errno, , ,[#include ]) + AC_CHECK_FUNCS(setresuid, [ dnl Some platorms have setresuid that isn't implemented, test for this AC_MSG_CHECKING(if setresuid seems to work) -- cgit v1.2.3