Skip to contentSkip to conversation

batman-adv: Fix build with linux 2.6.25-2.6.27

PATCH Applied Sven Eckelmann 2 participants 2 messages May 9, 2011

lore
Share & tools
lore
#0 lore raw

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

---
 compat.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
compat.c +1 -0
index 70de376..586898f 100644
@@ -1,3 +1,4 @@
+#include <linux/in.h>
 #include <linux/version.h>
 #include "main.h"
 
Signature · 1 line
1.7.5.1
#1 lore raw
Quoted 2 lines · 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