The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / bridge-utils / 0002-fix-for-kernel-headers-3.8+.patch
1 commit 5eebb7f9288b7881ffb929b1fd494fe3ac3be27d
2 Author: Russell Senior <russell@personaltelco.net>
3 Date:   Wed Mar 6 12:49:42 2013 -0800
4
5     bridge-utils: Fix compile against linux-3.8.x
6     
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:
12     
13           http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html
14     
15     This is intended to implement that suggestion.
16     
17     Signed-off-by: Russell Senior <russell@personaltelco.net>
18
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
23 @@ -20,6 +20,7 @@
24  #define _LIBBRIDGE_H
25  
26  #include <sys/socket.h>
27 +#include <netinet/in.h>
28  #include <linux/if.h>
29  #include <linux/if_bridge.h>
30