diff options
Diffstat (limited to 'networking/libiproute/iptunnel.c')
-rw-r--r-- | networking/libiproute/iptunnel.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c index 58ec7cce6..3d73ca81c 100644 --- a/networking/libiproute/iptunnel.c +++ b/networking/libiproute/iptunnel.c | |||
@@ -16,26 +16,23 @@ | |||
16 | * Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag | 16 | * Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag |
17 | */ | 17 | */ |
18 | 18 | ||
19 | #include <stdio.h> | 19 | #include <sys/socket.h> |
20 | #include <sys/ioctl.h> | ||
21 | |||
20 | #include <stdlib.h> | 22 | #include <stdlib.h> |
21 | #include <string.h> | 23 | #include <string.h> |
22 | #include <unistd.h> | 24 | #include <unistd.h> |
23 | #include <syslog.h> | 25 | |
24 | #include <fcntl.h> | ||
25 | #include <sys/socket.h> | ||
26 | #include <sys/ioctl.h> | ||
27 | #include <netinet/in.h> | ||
28 | #include <netinet/ip.h> | ||
29 | #include <arpa/inet.h> | 26 | #include <arpa/inet.h> |
27 | #include <netinet/ip.h> | ||
30 | 28 | ||
31 | #include <linux/if.h> | ||
32 | #include <linux/if_arp.h> | 29 | #include <linux/if_arp.h> |
33 | #include <linux/if_tunnel.h> | 30 | #include <linux/if_tunnel.h> |
34 | 31 | ||
35 | #include "rt_names.h" | 32 | #include "rt_names.h" |
36 | #include "utils.h" | 33 | #include "utils.h" |
37 | 34 | ||
38 | #include "busybox.h" | 35 | #include "libbb.h" |
39 | 36 | ||
40 | static int do_ioctl_get_ifindex(char *dev) | 37 | static int do_ioctl_get_ifindex(char *dev) |
41 | { | 38 | { |