batman-adv: Fix build with linux 2.6.25-2.6.27
Commit Message
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(-)
Comments
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
@@ -1,3 +1,4 @@
+#include <linux/in.h>
#include <linux/version.h>
#include "main.h"