summaryrefslogtreecommitdiff
path: root/package/busybox/patches/000-upstream-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/patches/000-upstream-compat.patch')
-rw-r--r--package/busybox/patches/000-upstream-compat.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/busybox/patches/000-upstream-compat.patch b/package/busybox/patches/000-upstream-compat.patch
new file mode 100644
index 0000000..1f474f2
--- /dev/null
+++ b/package/busybox/patches/000-upstream-compat.patch
@@ -0,0 +1,14 @@
+--- a/networking/libiproute/iplink.c
++++ b/networking/libiproute/iplink.c
+@@ -15,6 +15,11 @@
+ #include "rt_names.h"
+ #include "utils.h"
+
++#ifndef IFLA_LINKINFO
++# define IFLA_LINKINFO 18
++# define IFLA_INFO_KIND 1
++#endif
++
+ /* taken from linux/sockios.h */
+ #define SIOCSIFNAME 0x8923 /* set interface name */
+