From: "Linus Lüssing" <linus.luessing@c0d3.blue>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] [PATCH 4/4] batman-adv: compat: add missing includes for compat skbuff.c
Date: Sun, 22 Jan 2017 21:40:43 +0100 [thread overview]
Message-ID: <20170122204043.29668-4-linus.luessing@c0d3.blue> (raw)
In-Reply-To: <20170122204043.29668-1-linus.luessing@c0d3.blue>
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(+)
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)
--
2.1.4
next prev parent reply other threads:[~2017-01-22 20:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-22 20:40 [B.A.T.M.A.N.] [PATCH 1/4] batman-adv: compat: workaround for issues with make-kpkg for 4.5 kernels Linus Lüssing
2017-01-22 20:40 ` [B.A.T.M.A.N.] [PATCH 2/4] batman-adv: compat: fix warning in hard-interface.c for < 4.0 Linus Lüssing
2017-01-22 20:40 ` [B.A.T.M.A.N.] [PATCH 3/4] batman-adv: compat: fix compile error for cfg80211_get_station on v3.15 Linus Lüssing
2017-01-22 20:40 ` Linus Lüssing [this message]
2017-01-23 8:58 ` [B.A.T.M.A.N.] [PATCH 1/4] batman-adv: compat: workaround for issues with make-kpkg for 4.5 kernels Sven Eckelmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170122204043.29668-4-linus.luessing@c0d3.blue \
--to=linus.luessing@c0d3.blue \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox