[4/4] batman-adv: compat: add missing includes for compat skbuff.c

Message ID 20170122204043.29668-4-linus.luessing@c0d3.blue (mailing list archive)
State Accepted, archived
Commit cc04c82f76d9d66b868441078af731990d16df06
Delegated to: Sven Eckelmann
Headers

Commit Message

Linus Lüssing Jan. 22, 2017, 8:40 p.m. UTC
  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@c0d3.blue>
---
 compat-sources/net/core/skbuff.c | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

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)