summaryrefslogtreecommitdiffstats
path: root/ip
diff options
context:
space:
mode:
Diffstat (limited to 'ip')
-rw-r--r--ip/ipaddress.c7
-rw-r--r--ip/ipmaddr.c7
2 files changed, 8 insertions, 6 deletions
diff --git a/ip/ipaddress.c b/ip/ipaddress.c
index 0d00280c..4bc63adf 100644
--- a/ip/ipaddress.c
+++ b/ip/ipaddress.c
@@ -20,14 +20,15 @@
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
-#include <linux/netdevice.h>
-#include <linux/if_arp.h>
-#include <linux/sockios.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <fnmatch.h>
+#include <linux/netdevice.h>
+#include <linux/if_arp.h>
+#include <linux/sockios.h>
+
#include "rt_names.h"
#include "utils.h"
#include "ll_map.h"
diff --git a/ip/ipmaddr.c b/ip/ipmaddr.c
index b2c4adc0..1cdab0b0 100644
--- a/ip/ipmaddr.c
+++ b/ip/ipmaddr.c
@@ -17,13 +17,14 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
+#include <netinet/in.h>
+#include <arpa/inet.h>
+#include <string.h>
+
#include <linux/netdevice.h>
#include <linux/if.h>
#include <linux/if_arp.h>
#include <linux/sockios.h>
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <string.h>
#include "rt_names.h"
#include "utils.h"