summaryrefslogtreecommitdiff
path: root/net/openbgpd7/files/patch-src__bgpctl__output_json.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/openbgpd7/files/patch-src__bgpctl__output_json.c')
-rw-r--r--net/openbgpd7/files/patch-src__bgpctl__output_json.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/openbgpd7/files/patch-src__bgpctl__output_json.c b/net/openbgpd7/files/patch-src__bgpctl__output_json.c
new file mode 100644
index 000000000000..734515c07811
--- /dev/null
+++ b/net/openbgpd7/files/patch-src__bgpctl__output_json.c
@@ -0,0 +1,11 @@
+--- src/bgpctl/output_json.c.orig 2020-05-18 19:17:41 UTC
++++ src/bgpctl/output_json.c
+@@ -22,6 +22,8 @@
+ #include <stdlib.h>
+ #include <string.h>
+
++#include <sys/endian.h>
++
+ #include "bgpd.h"
+ #include "session.h"
+ #include "rde.h"