diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-04 18:57:17 +0300 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-04 18:57:17 +0300 |
commit | bb59f02218d326fa91bf1ade23232340bee317be (patch) | |
tree | 1178105e7635f0433a3e605e906c8e296999814b | |
parent | 91d4a2dac3a239455abfd0037cd2d7650a9af616 (diff) |
- make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers.
-rw-r--r-- | networking/libiproute/ip_common.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/networking/libiproute/ip_common.h b/networking/libiproute/ip_common.h index cc4b3aa01..15291780e 100644 --- a/networking/libiproute/ip_common.h +++ b/networking/libiproute/ip_common.h @@ -6,7 +6,12 @@ #include <asm/types.h> #include <linux/netlink.h> #include <linux/rtnetlink.h> - +#if !defined IFA_RTA +#include <linux/if_addr.h> +#endif +#if !defined IFLA_RTA +#include <linux/if_link.h> +#endif extern int preferred_family; extern char * _SL_; |