projects
/
feed
/
routing.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
e656a6e
)
Merge pull request #318 from ecsv/batadv-2017.2-ftbfs
author
Simon Wunderlich
<sw@simonwunderlich.de>
Sat, 12 Aug 2017 07:15:34 +0000
(09:15 +0200)
committer
GitHub
<noreply@github.com>
Sat, 12 Aug 2017 07:15:34 +0000
(09:15 +0200)
batman-adv: Prevent FTBFS when redefining ether_setup
batman-adv/files/compat-hacks.h
patch
|
blob
|
history
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
*/