Merge pull request #318 from ecsv/batadv-2017.2-ftbfs
batman-adv: Prevent FTBFS when redefining ether_setup
This commit is contained in:
commit
3cc8d49900
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
|
||||||
|
|
||||||
|
#include <linux/netdevice.h>
|
||||||
|
|
||||||
/* work around missing attribute needs_free_netdev and priv_destructor in
|
/* work around missing attribute needs_free_netdev and priv_destructor in
|
||||||
* net_device
|
* net_device
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue