ports/net/bird/files/patch-sysdep_unix_krt.h
Niclas Zeising 6794140dfb net/bird: Fix build with -fno-common
Fix the build of net/bird when compiled with -fno-common, which is the
default with llvm 11.

MFH:		2020Q3
2020-08-20 21:27:01 +00:00

11 lines
281 B
C

--- sysdep/unix/krt.h.orig 2020-08-20 21:22:44 UTC
+++ 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)