summaryrefslogtreecommitdiff
path: root/networking/libiproute/iplink.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/iplink.c')
-rw-r--r--networking/libiproute/iplink.c18
1 files changed, 7 insertions, 11 deletions
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c
index 33f3891..ef4d6b9 100644
--- a/networking/libiproute/iplink.c
+++ b/networking/libiproute/iplink.c
@@ -10,28 +10,24 @@
*
*/
-#include <stdio.h>
+#include <sys/ioctl.h>
+#include <sys/socket.h>
+
+#include <errno.h>
#include <stdlib.h>
+#include <string.h>
#include <unistd.h>
-#include <syslog.h>
-#include <fcntl.h>
-#include <errno.h>
-#include <sys/socket.h>
+
#include <linux/if.h>
#include <linux/if_packet.h>
#include <linux/if_ether.h>
#include <linux/sockios.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <string.h>
-#include <sys/ioctl.h>
-#include <linux/sockios.h>
#include "rt_names.h"
#include "utils.h"
#include "ip_common.h"
-#include "busybox.h"
+#include "libbb.h"
static int do_link;