summaryrefslogtreecommitdiff
path: root/graphics/asymptote/xstream.h
diff options
context:
space:
mode:
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>