1
0
mirror of https://git.openwrt.org/feed/routing.git synced 2024-06-19 23:28:31 +02:00
openwrt-routing/bird1/patches/010-gcc10.patch
Rosen Penev f0f0a892d8
bird1: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-11 12:36:05 -07:00

12 lines
256 B
Diff

--- 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)