diff --git a/configure b/configure index 0c949c4f35..d4242afcaa 100755 --- a/configure +++ b/configure @@ -1960,7 +1960,7 @@ texi2html -version > /dev/null 2>&1 && enable texi2html || disable texi2html # Network check if enabled network; then - check_type sys/socket.h socklen_t + check_type "sys/types.h sys/socket.h" socklen_t # Prefer arpa/inet.h over winsock2 if check_header arpa/inet.h ; then check_func closesocket