modernize backfire 10.03 so it can be operational again
[openwrt-10.03/.git] / package / quagga / patches-upstream / 999-old_uclibc.patch
diff --git a/package/quagga/patches-upstream/999-old_uclibc.patch b/package/quagga/patches-upstream/999-old_uclibc.patch
new file mode 100644 (file)
index 0000000..54ad939
--- /dev/null
@@ -0,0 +1,13 @@
+--- a/zebra/rt_netlink.c       2016-03-16 01:17:17.000000000 +0200
++++ b/zebra/rt_netlink.c       2016-07-14 13:03:27.227590115 +0300
+@@ -47,6 +47,10 @@
+ #include "rt_netlink.h"
++#ifndef ARPHRD_IEEE802154
++#define ARPHRD_IEEE802154 804
++#endif
++
+ static const struct message nlmsg_str[] = {
+   {RTM_NEWROUTE, "RTM_NEWROUTE"},
+   {RTM_DELROUTE, "RTM_DELROUTE"},