ip: add a #define for older kernels
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 22 Aug 2010 08:02:55 +0000 (10:02 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 22 Aug 2010 08:02:55 +0000 (10:02 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/libiproute/iplink.c

index 0d90338cc005125f1cb8018590ff3495249616a5..9ced18df01f4c93cb3b6f555d781d3dd33bc49de 100644 (file)
@@ -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 */