summaryrefslogtreecommitdiff
path: root/graphics/asymptote/xstream.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-01-21 03:01:16 +0000
committerNorbert Preining <norbert@preining.info>2022-01-21 03:01:16 +0000
commit5d5f239204f5c0d1f7573c9ebc64b5ad1ae75b49 (patch)
treedd2a2d9a64fd0be0785bc558a4872a3c8185af23 /graphics/asymptote/xstream.h
parent217d27e597baa589f8e115e1b44eef51c7bb5dd0 (diff)
CTAN sync 202201210301
Diffstat (limited to 'graphics/asymptote/xstream.h')
-rw-r--r--graphics/asymptote/xstream.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/graphics/asymptote/xstream.h b/graphics/asymptote/xstream.h
index 5069ac9f8c..4c550fe5a0 100644
--- a/graphics/asymptote/xstream.h
+++ b/graphics/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>