diff --git a/batman-adv/files/compat-hacks.h b/batman-adv/files/compat-hacks.h index b8bcf72..4ae2bcc 100644 --- a/batman-adv/files/compat-hacks.h +++ b/batman-adv/files/compat-hacks.h @@ -228,6 +228,8 @@ static inline int batadv_nla_put_u64_64bit(struct sk_buff *skb, int attrtype, #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9) +#include + /* work around missing attribute needs_free_netdev and priv_destructor in * net_device */