aboutsummaryrefslogtreecommitdiff
path: root/net/bfdd/patches
diff options
context:
space:
mode:
Diffstat (limited to 'net/bfdd/patches')
-rw-r--r--net/bfdd/patches/020-gcc10.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/bfdd/patches/020-gcc10.patch b/net/bfdd/patches/020-gcc10.patch
new file mode 100644
index 000000000..9c6445a74
--- /dev/null
+++ b/net/bfdd/patches/020-gcc10.patch
@@ -0,0 +1,18 @@
+--- a/bfd.h
++++ b/bfd.h
+@@ -299,13 +299,13 @@ typedef struct bfd_state_str_list_s {
+ int type;
+ } bfd_state_str_list;
+
+-struct bfd_vrf {
++extern struct bfd_vrf {
+ int vrf_id;
+ char name[MAXNAMELEN + 1];
+ UT_hash_handle vh;
+ } bfd_vrf;
+
+-struct bfd_iface {
++extern struct bfd_iface {
+ int vrf_id;
+ char ifname[MAXNAMELEN + 1];
+ UT_hash_handle ifh;