The following commit has been merged in the next branch: commit 7eaf03c7c6bc118a9ce704d59b11d13b4c09cd82 Author: Sven Eckelmann sven@narfation.org Date: Mon May 9 10:15:32 2011 +0200
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 sven@narfation.org
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"