diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-04-23 18:53:10 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-04-23 18:53:10 +1000 |
commit | 5bb140019c1fc16ddd66cf8408f2489fd5db03cb (patch) | |
tree | 1e0aa16b8f597179c8d8bb29498c21cb2d07a97f /configure.ac | |
parent | 752e4e603fdf09ce6323ad665ebce9a3f4093b9c (diff) |
- (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@
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 3 insertions, 1 deletions
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 | ||
863 | AC_CHECK_DECLS(h_errno, , ,[#include <netdb.h>]) | ||
864 | |||
863 | AC_CHECK_FUNCS(setresuid, [ | 865 | AC_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) |