diff options
author | osdl.org!shemminger <osdl.org!shemminger> | 2004-06-09 22:56:28 +0000 |
---|---|---|
committer | osdl.org!shemminger <osdl.org!shemminger> | 2004-06-09 22:56:28 +0000 |
commit | e5779fb2c8ca16f9fd81ae7efd14c20614b1498a (patch) | |
tree | ce2e637f3cbea447f2d7937cfa630d556ea3160f /ip | |
parent | 8ff61d11a34fc6febbda94def2efac48cc82ef39 (diff) |
more problems when kernel headers included before user headers.
(Logical change 1.29)
Diffstat (limited to 'ip')
-rw-r--r-- | ip/ipaddress.c | 7 | ||||
-rw-r--r-- | ip/ipmaddr.c | 7 |
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" |