[git commit master 1/1] ip: add a #define for older kernels
Denys Vlasenko
vda.linux at googlemail.com
Sun Aug 22 08:02:55 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=b276e418351612341e31da6385edbc3c91d2f6e8
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/libiproute/iplink.c | 3 +++
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 */
--
1.7.1
More information about the busybox-cvs
mailing list