]> andersk Git - openssh.git/commitdiff
- (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Declare h_errno
authordtucker <dtucker>
Fri, 23 Apr 2004 08:53:10 +0000 (08:53 +0000)
committerdtucker <dtucker>
Fri, 23 Apr 2004 08:53:10 +0000 (08:53 +0000)
   as extern int if not already declared.  Fixes compile errors on old SCO
   platforms.  ok tim@

ChangeLog
configure.ac
openbsd-compat/getrrsetbyname.c

index c17da7efaa3299363c201fbe1d1f4eab5ef59397..cae4a76f268e050cbd5291d8d3a11c419aa3054e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+20040423
+ - (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@
+
 20040421
  - (djm) Update config.guess and config.sub to autoconf-2.59 versions; ok tim@
 
index a7699f41d4edbb4dac0012050cf7a23951d82268..95570e5e4f24e9c0c184c5fdcda6fd0b7d135371 100644 (file)
@@ -860,6 +860,8 @@ AC_CHECK_DECL(tcsendbreak,
        [#include <termios.h>]
 )
 
+AC_CHECK_DECLS(h_errno, , ,[#include <netdb.h>])
+
 AC_CHECK_FUNCS(setresuid, [
        dnl Some platorms have setresuid that isn't implemented, test for this
        AC_MSG_CHECKING(if setresuid seems to work)
index 66d18142e0de63aa423d2b5731adfad606f07879..13125e11ef58e6717eed19728d10420f5b7832d6 100644 (file)
 
 #define ANSWER_BUFFER_SIZE 1024*64
 
+#if !HAVE_DECL_H_ERROR
+extern int h_errno;
+#endif
+
 struct dns_query {
        char                    *name;
        u_int16_t               type;
This page took 0.045431 seconds and 5 git commands to generate.