summaryrefslogtreecommitdiff
path: root/net-misc/bridge-utils/files/bridge-utils-1.5-linux-3.8.patch
blob: 49ebb4e9da28e58d4f70cd815ef86d8321079565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
unfortunately if_bridge.h from Linux 3.8+ is not self-contained and the struct
for ip6 is missing

http://bugs.gentoo.org/460262

this is not unheard of with Linux headers, for example, <linux/cdrom.h> needs
<limits.h> to get INT_MAX

--- libbridge/libbridge.h
+++ libbridge/libbridge.h
@@ -20,6 +20,7 @@
 #define _LIBBRIDGE_H
 
 #include <sys/socket.h>
+#include <netinet/ip6.h>
 #include <linux/if.h>
 #include <linux/if_bridge.h>