aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-22 10:02:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-22 10:02:55 +0200
commitb276e418351612341e31da6385edbc3c91d2f6e8 (patch)
tree71fba95fbb18232f09e44e6ecec677c2c2f698b2
parentadbe3b5b982874071b9b826cea1632fc00c85982 (diff)
downloadbusybox-w32-b276e418351612341e31da6385edbc3c91d2f6e8.tar.gz
busybox-w32-b276e418351612341e31da6385edbc3c91d2f6e8.tar.bz2
busybox-w32-b276e418351612341e31da6385edbc3c91d2f6e8.zip
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 0d90338cc..9ced18df0 100644
--- a/networking/libiproute/iplink.c
+++ b/networking/libiproute/iplink.c
@@ -15,6 +15,9 @@
15#include "rt_names.h" 15#include "rt_names.h"
16#include "utils.h" 16#include "utils.h"
17 17
18#ifndef IFLA_LINKINFO
19# define IFLA_LINKINFO 18
20#endif
18/* taken from linux/sockios.h */ 21/* taken from linux/sockios.h */
19#define SIOCSIFNAME 0x8923 /* set interface name */ 22#define SIOCSIFNAME 0x8923 /* set interface name */
20 23