From: Bruce Cran <bruce@cran.org.uk>
To: fio@vger.kernel.org
Subject: [patch] Fix IPv6 check on FreeBSD by including netinet/in.h
Date: Wed, 12 Feb 2014 21:58:39 -0700 [thread overview]
Message-ID: <52FC50FF.6060008@cran.org.uk> (raw)
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
next reply other threads:[~2014-02-13 4:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-13 4:58 Bruce Cran [this message]
2014-02-13 16:06 ` [patch] Fix IPv6 check on FreeBSD by including netinet/in.h Jens Axboe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52FC50FF.6060008@cran.org.uk \
--to=bruce@cran.org.uk \
--cc=fio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.