summaryrefslogtreecommitdiff
path: root/batman-adv
diff options
context:
space:
mode:
authorSven Eckelmann <sven@narfation.org>2021-08-22 08:56:28 +0200
committerSven Eckelmann <sven@narfation.org>2021-08-22 08:56:28 +0200
commit7684cdd73d3a1a6b37bce5ad0dd78dbc3976cfc1 (patch)
tree770de21b5e6905aeb3de4c4f0bd0927ff6c2e4c4 /batman-adv
parentf399156f45c2f570bb7321367e240af1ad1de403 (diff)
batman-adv: Fix build against kernel 5.10
The linux kernel 5.10 needs an explicit include of linux/if_bridge.h to define br_multicast_list_adjacent and the struct br_ip_list. Reported-by: Rosen Penev <rosenp@gmail.com> Fixes: 47cd2a4b627d ("batman-adv: update to version 2021.2") Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'batman-adv')
-rw-r--r--batman-adv/src/compat-hacks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/batman-adv/src/compat-hacks.h b/batman-adv/src/compat-hacks.h
index 21c13f7..f949f4e 100644
--- a/batman-adv/src/compat-hacks.h
+++ b/batman-adv/src/compat-hacks.h
@@ -51,6 +51,7 @@ inline void __batadv_br_ip_list_check(void)
#if LINUX_VERSION_IS_LESS(5, 14, 0)
+#include <linux/if_bridge.h>
#include <net/addrconf.h>
#if IS_ENABLED(CONFIG_IPV6)