Repository : ssh://git@open-mesh.org/batman-adv
On branch : master
---------------------------------------------------------------
commit cc04c82f76d9d66b868441078af731990d16df06
Author: Linus Lüssing <linus.luessing(a)c0d3.blue>
Date: Sun Jan 22 21:40:43 2017 +0100
batman-adv: compat: add missing includes for compat skbuff.c
Compile issues were reported with some 3.2 kernel. Adding the missing
includes to the compat skbuff.c file should fix those.
Signed-off-by: Linus Lüssing <linus.luessing(a)c0d3.blue>
Signed-off-by: Sven Eckelmann <sven(a)narfation.org>
---------------------------------------------------------------
cc04c82f76d9d66b868441078af731990d16df06
compat-sources/net/core/skbuff.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/compat-sources/net/core/skbuff.c b/compat-sources/net/core/skbuff.c
index 44d59dc..40c9e8b 100644
--- a/compat-sources/net/core/skbuff.c
+++ b/compat-sources/net/core/skbuff.c
@@ -32,8 +32,12 @@
* 2 of the License, or (at your option) any later version.
*/
+#include <linux/in6.h>
#include <linux/ipv6.h>
#include <linux/skbuff.h>
+#include <linux/types.h>
+#include <net/checksum.h>
+#include <net/ip6_checksum.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 0)