Blame SOURCES/bridge-utils-1.5-linux_3.8.x.patch

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