diff options
-rw-r--r-- | batman-adv/src/compat-hacks.h | 2 |
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()) |