All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Senior <russell@personaltelco.net>
To: bridge@lists.linux-foundation.org
Subject: Re: [Bridge] [PATCH] bridge-utils: Fix compile against linux-3.8.x
Date: Tue, 05 Mar 2013 15:33:10 -0800	[thread overview]
Message-ID: <86ip55zakp.fsf@coulee.tdb.com> (raw)
In-Reply-To: <8638w91lft.fsf@coulee.tdb.com> (Russell Senior's message of "Tue\, 05 Mar 2013 15\:22\:30 -0800")


Linux 3.8 has a header, include/uapi/linux/if_bridge.h that uses a
struct in6_addr but doesn't define it.  The trivial seeming fix of
including the header that does define it causes more problems.  The
problem was discussed on mailing lists in January 2013.  The final
suggestion I found was here:

      http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html

This is intended to implement that suggestion.

Signed-off-by: Russell Senior <russell@personaltelco.net>
---
 libbridge/libbridge.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h
index 39964f2..dd14bae 100644
--- a/libbridge/libbridge.h
+++ b/libbridge/libbridge.h
@@ -20,6 +20,7 @@
 #define _LIBBRIDGE_H
 
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <linux/if.h>
 #include <linux/if_bridge.h>
 
-- 
1.7.10.4


-- 
Russell Senior, President
russell@personaltelco.net

           reply	other threads:[~2013-03-05 23:33 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <8638w91lft.fsf@coulee.tdb.com>]

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=86ip55zakp.fsf@coulee.tdb.com \
    --to=russell@personaltelco.net \
    --cc=bridge@lists.linux-foundation.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.