Merge pull request #318 from ecsv/batadv-2017.2-ftbfs

batman-adv: Prevent FTBFS when redefining ether_setup
This commit is contained in:
Simon Wunderlich 2017-08-12 09:15:34 +02:00 committed by GitHub
commit 3cc8d49900

View file

@ -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 <linux/netdevice.h>
/* work around missing attribute needs_free_netdev and priv_destructor in
* net_device
*/