- make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers.
No binary (build failed)
—
(log yok)
| @@ -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_; | |