mirror of
https://git.freebsd.org/ports.git
synced 2025-06-30 00:50:29 -04:00
Fix the build of net/bird when compiled with -fno-common, which is the default with llvm 11. MFH: 2020Q3
11 lines
281 B
C
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)
|
|
|