diff options
author | Denys Vlasenko | 2010-08-22 10:02:55 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-08-22 10:02:55 +0200 |
commit | b276e418351612341e31da6385edbc3c91d2f6e8 (patch) | |
tree | 71fba95fbb18232f09e44e6ecec677c2c2f698b2 /networking/libiproute | |
parent | adbe3b5b982874071b9b826cea1632fc00c85982 (diff) | |
download | busybox-b276e418351612341e31da6385edbc3c91d2f6e8.zip busybox-b276e418351612341e31da6385edbc3c91d2f6e8.tar.gz |
ip: add a #define for older kernels
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute')
-rw-r--r-- | networking/libiproute/iplink.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |