diff options
Diffstat (limited to 'graphics/asymptote/xstream.h')
-rw-r--r-- | graphics/asymptote/xstream.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/graphics/asymptote/xstream.h b/graphics/asymptote/xstream.h index 1d7f6e1cd1..3c7c94e115 100644 --- a/graphics/asymptote/xstream.h +++ b/graphics/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> |