]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/bridge-utils-1.5-compile-fix-1.patch
core115: Include captive portal in updater
[ipfire-2.x.git] / src / patches / bridge-utils-1.5-compile-fix-1.patch
CommitLineData
c0b99a4c
MT
1From 5eebb7f9288b7881ffb929b1fd494fe3ac3be27d Mon Sep 17 00:00:00 2001
2From: Russell Senior <russell@personaltelco.net>
3Date: Wed, 06 Mar 2013 20:49:42 +0000
4Subject: bridge-utils: Fix compile against linux-3.8.x
5
6Linux 3.8 has a header, include/uapi/linux/if_bridge.h that uses a
7struct in6_addr but doesn't define it. The trivial seeming fix of
8including the header that does define it causes more problems. The
9problem was discussed on mailing lists in January 2013. The final
10suggestion I found was here:
11
12 http://www.redhat.com/archives/libvir-list/2013-January/msg01253.html
13
14This is intended to implement that suggestion.
15
16Signed-off-by: Russell Senior <russell@personaltelco.net>
17---
18diff --git a/libbridge/libbridge.h b/libbridge/libbridge.h
19index 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--
31cgit v0.9.2