Fix IPv6 check on FreeBSD by including netinet/in.h
[fio.git] / configure
index 78a6ccb7e746aa2e272a68bccd96c8c821084034..89405cd790192127749470a82c839e0cc0ccd3d0 100755 (executable)
--- a/configure
+++ b/configure
@@ -1098,6 +1098,7 @@ ipv6="no"
 cat > $TMPC << EOF
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <netdb.h>
 #include <stdio.h>
 int main(int argc, char **argv)