From b276e418351612341e31da6385edbc3c91d2f6e8 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 22 Aug 2010 10:02:55 +0200 Subject: [PATCH] ip: add a #define for older kernels Signed-off-by: Denys Vlasenko --- networking/libiproute/iplink.c | 3 +++ 1 file changed, 3 insertions(+) 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 */ -- 2.25.1