]>
Commit | Line | Data |
---|---|---|
c0b99a4c MT |
1 | From 5eebb7f9288b7881ffb929b1fd494fe3ac3be27d Mon Sep 17 00:00:00 2001 |
2 | From: Russell Senior <russell@personaltelco.net> | |
3 | Date: Wed, 06 Mar 2013 20:49:42 +0000 | |
4 | Subject: bridge-utils: Fix compile against linux-3.8.x | |
5 | ||
6 | Linux 3.8 has a header, include/uapi/linux/if_bridge.h that uses a | |
7 | struct in6_addr but doesn't define it. The trivial seeming fix of | |
8 | including the header that does define it causes more problems. The | |
9 | problem was discussed on mailing lists in January 2013. The final | |
10 | suggestion I found was here: | |
11 | ||
12 | http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html | |
13 | ||
14 | This is intended to implement that suggestion. | |
15 | ||
16 | Signed-off-by: Russell Senior <russell@personaltelco.net> | |
17 | --- | |
18 | diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h | |
19 | index 39964f2..dd14bae 100644 | |
20 | --- a/libbridge/libbridge.h | |
21 | +++ b/libbridge/libbridge.h | |
22 | @@ -20,6 +20,7 @@ | |
23 | #define _LIBBRIDGE_H | |
24 | ||
25 | #include <sys/socket.h> | |
26 | +#include <netinet/in.h> | |
27 | #include <linux/if.h> | |
28 | #include <linux/if_bridge.h> | |
29 | ||
30 | -- | |
31 | cgit v0.9.2 |