From: Bruce Cran Date: Thu, 13 Feb 2014 16:06:20 +0000 (-0700) Subject: Fix IPv6 check on FreeBSD by including netinet/in.h X-Git-Tag: fio-2.1.6~42 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=d219028de7fe8038b018c1e84dced8576e939f5d;ds=sidebyside Fix IPv6 check on FreeBSD by including netinet/in.h I noticed IPv6 support was being disabled on FreeBSD; it seems the configure script needs netinet/in.h so in6_addr is known. Signed-off-by: Jens Axboe --- diff --git a/configure b/configure index 78a6ccb7..89405cd7 100755 --- a/configure +++ b/configure @@ -1098,6 +1098,7 @@ ipv6="no" cat > $TMPC << EOF #include #include +#include #include #include int main(int argc, char **argv)