projects
/
feed
/
routing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
batman-adv: Prevent FTBFS when redefining ether_setup
[feed/routing.git]
/
batman-adv
/
files
/
compat-hacks.h
diff --git
a/batman-adv/files/compat-hacks.h
b/batman-adv/files/compat-hacks.h
index b8bcf72325fa5af9ad5acedb487dff12e21a4847..4ae2bcc7c26e83bfbda9ff288bc88b4f10c3fa75 100644
(file)
--- 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 <linux/netdevice.h>
+
/* work around missing attribute needs_free_netdev and priv_destructor in
* net_device
*/