bird1: fix compilation with GCC 10
[feed/routing.git] / bird1 / patches / 010-gcc10.patch
diff --git a/bird1/patches/010-gcc10.patch b/bird1/patches/010-gcc10.patch
new file mode 100644 (file)
index 0000000..beb4e03
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/sysdep/unix/krt.h
++++ b/sysdep/unix/krt.h
+@@ -112,7 +112,7 @@ struct kif_proto {
+   struct kif_state sys;               /* Sysdep state */
+ };
+-struct kif_proto *kif_proto;
++extern struct kif_proto *kif_proto;
+ #define KIF_CF ((struct kif_config *)p->p.cf)