summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-22 08:02:55 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2010-08-22 08:02:55 (GMT)
commitb276e418351612341e31da6385edbc3c91d2f6e8 (patch)
tree71fba95fbb18232f09e44e6ecec677c2c2f698b2
parentadbe3b5b982874071b9b826cea1632fc00c85982 (diff)
downloadbusybox-b276e418351612341e31da6385edbc3c91d2f6e8.tar.gz
busybox-b276e418351612341e31da6385edbc3c91d2f6e8.tar.bz2
ip: add a #define for older kernels
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/libiproute/iplink.c3
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 */