diff --git a/configure b/configure index fd3a398231697744bb5c818b70eb2e1c1ec5ef97..2dc87ee765771c7a91c1736ff3c23f53dea16cb7 100755 --- a/configure +++ b/configure @@ -2863,7 +2863,8 @@ check_func nanosleep || { check_func nanosleep -lrt && add_extralibs -lrt; } check_func fcntl check_func fork -check_func getaddrinfo $network_extralibs +check_func getaddrinfo $network_extralibs || + check_func_headers ws2tcpip.h getaddrinfo $network_extralibs check_func gethrtime check_func getopt check_func getrusage