]> sjero.net Git - wget/blobdiff - configure.ac
Declare h_errno if no declaration provided (HP-UX).
[wget] / configure.ac
index 2ccc703d4c4a43aa757947269d9ce97a5f7946a7..78fd5e143f39f7d29e912a13b96f72c639fb7955 100644 (file)
@@ -163,6 +163,8 @@ AC_CHECK_HEADERS(unistd.h sys/time.h)
 AC_CHECK_HEADERS(termios.h sys/ioctl.h sys/select.h utime.h sys/utime.h)
 AC_CHECK_HEADERS(stdint.h inttypes.h pwd.h wchar.h)
 
+AC_CHECK_DECLS(h_errno,,,[#include <netdb.h>])
+
 dnl
 dnl Check sizes of integer types.  These are used to find n-bit
 dnl integral types on older systems that fail to provide intN_t and