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