Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-08-22 12:02:55 +0400
committerDenys Vlasenko <vda.linux@googlemail.com>2010-08-22 12:02:55 +0400
commitb276e418351612341e31da6385edbc3c91d2f6e8 (patch)
tree71fba95fbb18232f09e44e6ecec677c2c2f698b2 /networking/libiproute/iplink.c
parentadbe3b5b982874071b9b826cea1632fc00c85982 (diff)
ip: add a #define for older kernels
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute/iplink.c')
-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 @@
#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 */