A patch fixing this problem inside the linux kernel was not accepted.
For details see:
- http://lkml.org/lkml/2009/6/18/223
- http://patchwork.kernel.org/patch/31164/
Signed-off-by: Steffen Sledz <sledz@dresearch.de>
--- /dev/null
+diff -Nurd busybox-1.11.3.orig//networking/libiproute/iptunnel.c busybox-1.11.3/networking/libiproute/iptunnel.c
+--- busybox-1.11.3.orig//networking/libiproute/iptunnel.c 2009-10-29 12:49:58.000000000 +0100
++++ busybox-1.11.3/networking/libiproute/iptunnel.c 2009-10-29 12:50:33.000000000 +0100
+@@ -21,6 +21,7 @@
+ #ifndef __constant_htons
+ #define __constant_htons htons
+ #endif
++#include <asm/byteorder.h>
+ #include <linux/if_tunnel.h>
+
+ #include "ip_common.h" /* #include "libbb.h" is inside */
SECTION = "base"
PRIORITY = "required"
-INC_PR = "r22"
+INC_PR = "r23"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
file://udhcpscript.patch;patch=1 \
file://B921600.patch;patch=1 \
file://fdisk_lineedit_segfault.patch;patch=1 \
+ file://iptunnel.patch;patch=1 \
file://busybox-appletlib-dependency.patch;patch=1 \
file://busybox-cron \
file://busybox-httpd \