as extern int if not already declared. Fixes compile errors on old SCO
platforms. ok tim@
+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@
[#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)
#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;