commit | b276e418351612341e31da6385edbc3c91d2f6e8 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Sun Aug 22 10:02:55 2010 +0200 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sun Aug 22 10:02:55 2010 +0200 |
tree | 71fba95fbb18232f09e44e6ecec677c2c2f698b2 | |
parent | adbe3b5b982874071b9b826cea1632fc00c85982 [diff] |
ip: add a #define for older kernels Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index 0d90338..9ced18d 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c
@@ -15,6 +15,9 @@ #include "rt_names.h" #include "utils.h" +#ifndef IFLA_LINKINFO +# define IFLA_LINKINFO 18 +#endif /* taken from linux/sockios.h */ #define SIOCSIFNAME 0x8923 /* set interface name */