aboutsummaryrefslogtreecommitdiff
path: root/net/openbgpd/files/patch-bgpctl-compat-openbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/openbgpd/files/patch-bgpctl-compat-openbsd.h')
-rw-r--r--net/openbgpd/files/patch-bgpctl-compat-openbsd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/openbgpd/files/patch-bgpctl-compat-openbsd.h b/net/openbgpd/files/patch-bgpctl-compat-openbsd.h
new file mode 100644
index 000000000000..bbec3833bac7
--- /dev/null
+++ b/net/openbgpd/files/patch-bgpctl-compat-openbsd.h
@@ -0,0 +1,6 @@
+--- /dev/null 2009-06-24 01:22:00.000000000 +0900
++++ bgpctl/compat-openbsd.h 2009-06-24 01:24:55.000000000 +0900
+@@ -0,0 +1,3 @@
++#include <sys/endian.h>
++
++#define betoh64(x) (be64toh(x))