aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/iptunnel.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-14 08:54:08 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-14 08:54:08 +0000
commitab4e19afc66e13b6aac7429fdce95d2aa7cb15ae (patch)
tree712b347dc89d890fe0d5755ebbbe9c23eb891a4c /networking/libiproute/iptunnel.c
parent92a06d0943a7890b6e69d9ad955feb6d138713b7 (diff)
downloadbusybox-ab4e19afc66e13b6aac7429fdce95d2aa7cb15ae.tar.gz
Eliminate most instances where we use linux kernel headers
-Erik
Diffstat (limited to 'networking/libiproute/iptunnel.c')
-rw-r--r--networking/libiproute/iptunnel.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c
index dcf717e7e..1eb17799c 100644
--- a/networking/libiproute/iptunnel.c
+++ b/networking/libiproute/iptunnel.c
@@ -25,10 +25,13 @@
#include <arpa/inet.h>
#include <netinet/ip.h>
+#include <netinet/in.h>
-#define sysinfo kernel_sysinfo
-#include <linux/if_arp.h>
-#undef sysinfo
+#include <net/if.h>
+#include <net/if_arp.h>
+
+#include <asm/types.h>
+#define __constant_htons htons
#include <linux/if_tunnel.h>
#include "rt_names.h"