1 commit 5eebb7f9288b7881ffb929b1fd494fe3ac3be27d
2 Author: Russell Senior <russell@personaltelco.net>
3 Date: Wed Mar 6 12:49:42 2013 -0800
5 bridge-utils: Fix compile against linux-3.8.x
7 Linux 3.8 has a header, include/uapi/linux/if_bridge.h that uses a
8 struct in6_addr but doesn't define it. The trivial seeming fix of
9 including the header that does define it causes more problems. The
10 problem was discussed on mailing lists in January 2013. The final
11 suggestion I found was here:
13 http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html
15 This is intended to implement that suggestion.
17 Signed-off-by: Russell Senior <russell@personaltelco.net>
19 diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h
20 index 39964f2..dd14bae 100644
21 --- a/libbridge/libbridge.h
22 +++ b/libbridge/libbridge.h
26 #include <sys/socket.h>
27 +#include <netinet/in.h>
29 #include <linux/if_bridge.h>