summaryrefslogtreecommitdiff
path: root/networking/libiproute/iptunnel.c
diff options
context:
space:
mode:
authorGlenn L McGrath2002-12-16 07:37:21 +0000
committerGlenn L McGrath2002-12-16 07:37:21 +0000
commit275be87be71dab9b00a67bd5010f8acf7255ce04 (patch)
tree2272ba327e20cf1b639235641693edc1eccf1cb1 /networking/libiproute/iptunnel.c
parent1e132dd4dd0c2db7952bf0447bf1eff1f557f288 (diff)
downloadbusybox-275be87be71dab9b00a67bd5010f8acf7255ce04.zip
busybox-275be87be71dab9b00a67bd5010f8acf7255ce04.tar.gz
Only included headers that are used.
Diffstat (limited to 'networking/libiproute/iptunnel.c')
-rw-r--r--networking/libiproute/iptunnel.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c
index 58ec7cc..3d73ca8 100644
--- a/networking/libiproute/iptunnel.c
+++ b/networking/libiproute/iptunnel.c
@@ -16,26 +16,23 @@
* Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag
*/
-#include <stdio.h>
+#include <sys/socket.h>
+#include <sys/ioctl.h>
+
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
-#include <sys/socket.h>
-#include <sys/ioctl.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
+
#include <arpa/inet.h>
+#include <netinet/ip.h>
-#include <linux/if.h>
#include <linux/if_arp.h>
#include <linux/if_tunnel.h>
#include "rt_names.h"
#include "utils.h"
-#include "busybox.h"
+#include "libbb.h"
static int do_ioctl_get_ifindex(char *dev)
{