summaryrefslogtreecommitdiff
path: root/math/asymptote/files/patch-xstream.h
blob: 362604ebb1e0bf8fc88323c3b10a48f540d5b0d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- xstream.h.orig	2020-08-06 02:32:59 UTC
+++ xstream.h
@@ -41,7 +41,7 @@ extern "C" int fseeko(FILE *, off_t, int);
 extern "C" off_t ftello(FILE *);
 #endif
 
-#ifdef __APPLE__
+if defined(__APPLE__) || defined(__FreeBSD__)
 #include <rpc/xdr.h>
 
 inline bool_t xdr_long(XDR *__xdrs, long *__lp) {