[patch] Fix IPv6 check on FreeBSD by including netinet/in.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I noticed IPv6 support was being disabled on FreeBSD; it seems the configure script needs netinet/in.h so in6_addr is known.

--
Bruce

From 21fc22b5f510d8dc93a9b200f3787a7aa6638d35 Mon Sep 17 00:00:00 2001
From: Bruce Cran <bruce@xxxxxxxxxxx>
Date: Thu, 13 Feb 2014 04:53:36 +0000
Subject: [PATCH] According to POSIX, in6_addr requires netinet/in.h

---
 configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure b/configure
index 78a6ccb..89405cd 100755
--- 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)
--
1.8.4.3

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux