summaryrefslogtreecommitdiffhomepage
path: root/networking/libiproute/iproute.c
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-12-16 07:37:21 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-12-16 07:37:21 +0000
commit275be87be71dab9b00a67bd5010f8acf7255ce04 (patch)
tree2272ba327e20cf1b639235641693edc1eccf1cb1 /networking/libiproute/iproute.c
parent1e132dd4dd0c2db7952bf0447bf1eff1f557f288 (diff)
Only included headers that are used.
Diffstat (limited to 'networking/libiproute/iproute.c')
-rw-r--r--networking/libiproute/iproute.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/networking/libiproute/iproute.c b/networking/libiproute/iproute.c
index f29a5158a..114fb6c90 100644
--- a/networking/libiproute/iproute.c
+++ b/networking/libiproute/iproute.c
@@ -15,23 +15,15 @@
* Kunihiro Ishiguro <kunihiro@zebra.org> 001102: rtnh_ifindex was not initialized
*/
-#include <stdio.h>
+#include <sys/socket.h>
+
#include <stdlib.h>
-#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
#include <string.h>
-#include <sys/time.h>
-#include <sys/socket.h>
-#include <netinet/in.h>
-#include <netinet/ip.h>
-#include <arpa/inet.h>
-#include <linux/in_route.h>
#include "rt_names.h"
#include "utils.h"
-#include "busybox.h"
+#include "libbb.h"
#ifndef RTAX_RTTVAR
#define RTAX_RTTVAR RTAX_HOPS