From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix build with linux 2.6.25-2.6.27
Date: Mon, 9 May 2011 10:15:32 +0200 [thread overview]
Message-ID: <1304928932-10114-1-git-send-email-sven@narfation.org> (raw)
We must prevent that IPPROTO_UDP gets redefined using compat.h.
Otherwise the build will fail when including things like net/addrconf.h
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
compat.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/compat.c b/compat.c
index 70de376..586898f 100644
--- a/compat.c
+++ b/compat.c
@@ -1,3 +1,4 @@
+#include <linux/in.h>
#include <linux/version.h>
#include "main.h"
--
1.7.5.1
next reply other threads:[~2011-05-09 8:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-09 8:15 Sven Eckelmann [this message]
2011-05-09 11:22 ` [B.A.T.M.A.N.] [PATCH] batman-adv: Fix build with linux 2.6.25-2.6.27 Marek Lindner
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=1304928932-10114-1-git-send-email-sven@narfation.org \
--to=sven@narfation.org \
--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