* [B.A.T.M.A.N.] [PATCH] batman-adv: Fix build with linux 2.6.25-2.6.27
@ 2011-05-09 8:15 Sven Eckelmann
2011-05-09 11:22 ` Marek Lindner
0 siblings, 1 reply; 2+ messages in thread
From: Sven Eckelmann @ 2011-05-09 8:15 UTC (permalink / raw)
To: b.a.t.m.a.n
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix build with linux 2.6.25-2.6.27
2011-05-09 8:15 [B.A.T.M.A.N.] [PATCH] batman-adv: Fix build with linux 2.6.25-2.6.27 Sven Eckelmann
@ 2011-05-09 11:22 ` Marek Lindner
0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2011-05-09 11:22 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Monday 09 May 2011 10:15:32 Sven Eckelmann wrote:
> We must prevent that IPPROTO_UDP gets redefined using compat.h.
> Otherwise the build will fail when including things like net/addrconf.h
Applied in revision ef0df12.
Thanks,
Marek
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-09 11:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-09 8:15 [B.A.T.M.A.N.] [PATCH] batman-adv: Fix build with linux 2.6.25-2.6.27 Sven Eckelmann
2011-05-09 11:22 ` Marek Lindner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox