summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Wunderlich <sw@simonwunderlich.de>2022-05-13 11:51:19 +0200
committerGitHub <noreply@github.com>2022-05-13 11:51:19 +0200
commit50e02d4cff23e749deb7f12099105d34bfc31929 (patch)
treef1192ebfaee50d997c9ea11b48c79009a4ec1d18
parent8770d8ffb653367f9287985229b043d270da6ff0 (diff)
parent4216c909aa56e8d5490a2fdd2dad536ccf4673fe (diff)
Merge pull request #863 from ecsv/batadv-2022.1
batman-adv: Fix build with kernel 5.15.38
-rw-r--r--batman-adv/src/compat-hacks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/batman-adv/src/compat-hacks.h b/batman-adv/src/compat-hacks.h
index 8b8ac53..6938955 100644
--- a/batman-adv/src/compat-hacks.h
+++ b/batman-adv/src/compat-hacks.h
@@ -61,6 +61,8 @@ static inline void batadv_eth_hw_addr_set(struct net_device *dev,
#if LINUX_VERSION_IS_LESS(5, 18, 0)
+#include <linux/netdevice.h>
+
static inline int batadv_netif_rx(struct sk_buff *skb)
{
if (in_interrupt())