]> sjero.net Git - wget/blobdiff - configure.ac
Merge with mainline.
[wget] / configure.ac
index fb0c65d10d10bef526dd59126868a463653e8c3e..dcb302fa187cd2d5e3cf69397825098f08e5f8e4 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