summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/xstream.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-01-20 21:32:08 +0000
committerKarl Berry <karl@freefriends.org>2022-01-20 21:32:08 +0000
commit5597c98c7297769c02e0b212e2f0c69ef97d80be (patch)
treefacfbc28006eba69967cfebf968d42a1b9b4593c /Build/source/utils/asymptote/xstream.h
parent598ee1b5f5190f337b64668ad53327e9643fc06c (diff)
asy 2.76 sources
git-svn-id: svn://tug.org/texlive/trunk@61672 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/xstream.h')
-rw-r--r--Build/source/utils/asymptote/xstream.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/xstream.h b/Build/source/utils/asymptote/xstream.h
index 5069ac9f8cd..4c550fe5a0d 100644
--- a/Build/source/utils/asymptote/xstream.h
+++ b/Build/source/utils/asymptote/xstream.h
@@ -57,6 +57,11 @@ inline bool_t xdr_u_long(XDR *__xdrs, unsigned long *__lp) {
#endif
+#ifdef __OpenBSD__
+#define xdr_longlong_t xdr_int64_t
+#define xdr_u_longlong_t xdr_u_int64_t
+#endif
+
#ifdef _POSIX_SOURCE
#undef _POSIX_SOURCE
#include <rpc/rpc.h>