aboutsummaryrefslogtreecommitdiff
path: root/networking/libiproute/ipaddress.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/libiproute/ipaddress.c')
-rw-r--r--networking/libiproute/ipaddress.c21
1 files changed, 7 insertions, 14 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 6bba6e077..2821f2e8d 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -12,31 +12,24 @@
12 * Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated 12 * Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated
13 */ 13 */
14 14
15#include <stdio.h>
16#include <stdlib.h>
17#include <unistd.h>
18#include <syslog.h>
19#include <fcntl.h>
20#include <sys/ioctl.h>
21#include <sys/socket.h> 15#include <sys/socket.h>
22#include <sys/ioctl.h> 16#include <sys/ioctl.h>
23#include <netinet/in.h> 17
24#include <arpa/inet.h>
25#include <string.h>
26#include <fnmatch.h> 18#include <fnmatch.h>
19#include <stdlib.h>
20#include <string.h>
21#include <unistd.h>
22
23#include <arpa/inet.h>
27 24
28#define sysinfo kernel_sysinfo 25#define sysinfo kernel_sysinfo
29#include <linux/netdevice.h>
30#include <linux/if_arp.h> 26#include <linux/if_arp.h>
31#include <linux/sockios.h>
32#undef sysinfo 27#undef sysinfo
33 28
34#include "rt_names.h" 29#include "rt_names.h"
35#include "utils.h" 30#include "utils.h"
36#include "ll_map.h"
37#include "ip_common.h"
38 31
39#include "busybox.h" 32#include "libbb.h"
40 33
41static struct 34static struct
42{ 35{