batman-adv: Fix build with linux 2.6.25-2.6.27
PATCH 1/1 batman-adv: Fix build with linux 2.6.25-2.6.27
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 <[email protected]>
--- compat.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
compat.c +1 -0
@@ -1,3 +1,4 @@ +#include <linux/in.h> #include <linux/version.h> #include "main.h"
Signature · 1 line
1.7.5.1
Marek Lindner
AppliedQuoted 2 lines · On Monday 09 May 2011 10:15:32 Sven Eckelmann wrote:
We must prevent that
IPPROTO_UDPgets redefined usingcompat.h. Otherwise the build will fail when including things likenet/addrconf.h
Applied in revision ef0df12.
Thanks,
Marek