diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-01-14 08:54:08 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-01-14 08:54:08 +0000 |
commit | ab4e19afc66e13b6aac7429fdce95d2aa7cb15ae (patch) | |
tree | 712b347dc89d890fe0d5755ebbbe9c23eb891a4c /networking/libiproute/iptunnel.c | |
parent | 92a06d0943a7890b6e69d9ad955feb6d138713b7 (diff) | |
download | busybox-w32-ab4e19afc66e13b6aac7429fdce95d2aa7cb15ae.tar.gz busybox-w32-ab4e19afc66e13b6aac7429fdce95d2aa7cb15ae.tar.bz2 busybox-w32-ab4e19afc66e13b6aac7429fdce95d2aa7cb15ae.zip |
Eliminate most instances where we use linux kernel headers
-Erik
Diffstat (limited to 'networking/libiproute/iptunnel.c')
-rw-r--r-- | networking/libiproute/iptunnel.c | 9 |
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 @@ | |||
25 | 25 | ||
26 | #include <arpa/inet.h> | 26 | #include <arpa/inet.h> |
27 | #include <netinet/ip.h> | 27 | #include <netinet/ip.h> |
28 | #include <netinet/in.h> | ||
28 | 29 | ||
29 | #define sysinfo kernel_sysinfo | 30 | #include <net/if.h> |
30 | #include <linux/if_arp.h> | 31 | #include <net/if_arp.h> |
31 | #undef sysinfo | 32 | |
33 | #include <asm/types.h> | ||
34 | #define __constant_htons htons | ||
32 | #include <linux/if_tunnel.h> | 35 | #include <linux/if_tunnel.h> |
33 | 36 | ||
34 | #include "rt_names.h" | 37 | #include "rt_names.h" |