From 7684cdd73d3a1a6b37bce5ad0dd78dbc3976cfc1 Mon Sep 17 00:00:00 2001 From: Sven Eckelmann Date: Sun, 22 Aug 2021 08:56:28 +0200 Subject: [PATCH] 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 Fixes: 47cd2a4b627d ("batman-adv: update to version 2021.2") Signed-off-by: Sven Eckelmann --- batman-adv/src/compat-hacks.h | 1 + 1 file changed, 1 insertion(+) 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 #include #if IS_ENABLED(CONFIG_IPV6)