* [patch] Fix IPv6 check on FreeBSD by including netinet/in.h
@ 2014-02-13 4:58 Bruce Cran
2014-02-13 16:06 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Bruce Cran @ 2014-02-13 4:58 UTC (permalink / raw)
To: fio
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@cran.org.uk>
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch] Fix IPv6 check on FreeBSD by including netinet/in.h
2014-02-13 4:58 [patch] Fix IPv6 check on FreeBSD by including netinet/in.h Bruce Cran
@ 2014-02-13 16:06 ` Jens Axboe
0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2014-02-13 16:06 UTC (permalink / raw)
To: Bruce Cran; +Cc: fio
On Wed, Feb 12 2014, Bruce Cran wrote:
> I noticed IPv6 support was being disabled on FreeBSD; it seems the
> configure script needs netinet/in.h so in6_addr is known.
Thanks Bruce, applied.
--
Jens Axboe
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-13 16:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-13 4:58 [patch] Fix IPv6 check on FreeBSD by including netinet/in.h Bruce Cran
2014-02-13 16:06 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox