summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/xstream.h
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-11 21:35:51 +0000
committerKarl Berry <karl@freefriends.org>2019-10-11 21:35:51 +0000
commitbb3c09cc69221c47daba9c11dc3df8be2c66b465 (patch)
tree81536069fd3f879ad242ca8041920caec2ebcb95 /Build/source/utils/asymptote/xstream.h
parent253f0f12cb645ea1458b36bd24f863e67406f688 (diff)
asy 2.58
1.00 sources git-svn-id: svn://tug.org/texlive/trunk@52346 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/asymptote/xstream.h')
-rw-r--r--Build/source/utils/asymptote/xstream.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/utils/asymptote/xstream.h b/Build/source/utils/asymptote/xstream.h
index 1d7f6e1cd17..3c7c94e1158 100644
--- a/Build/source/utils/asymptote/xstream.h
+++ b/Build/source/utils/asymptote/xstream.h
@@ -41,6 +41,12 @@ extern "C" int fseeko(FILE *, off_t, int);
extern "C" off_t ftello(FILE *);
#endif
+#ifdef __APPLE__
+#include <rpc/xdr.h>
+extern bool_t xdr_long(XDR *__xdrs, long *__lp);
+extern bool_t xdr_u_long(XDR *__xdrs, u_long *__ulp);
+#endif
+
#ifdef _POSIX_SOURCE
#undef _POSIX_SOURCE
#include <rpc/rpc.h>