summaryrefslogtreecommitdiffstats
path: root/ip/ipmaddr.c
diff options
context:
space:
mode:
authorosdl.org!shemminger <osdl.org!shemminger>2004-06-09 22:56:28 +0000
committerosdl.org!shemminger <osdl.org!shemminger>2004-06-09 22:56:28 +0000
commite5779fb2c8ca16f9fd81ae7efd14c20614b1498a (patch)
treece2e637f3cbea447f2d7937cfa630d556ea3160f /ip/ipmaddr.c
parent8ff61d11a34fc6febbda94def2efac48cc82ef39 (diff)
more problems when kernel headers included before user headers.
(Logical change 1.29)
Diffstat (limited to 'ip/ipmaddr.c')
-rw-r--r--ip/ipmaddr.c7
1 files changed, 4 insertions, 3 deletions
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"