blob: 286fb4d5ffc7f6fffa0e8d6cb6f5b23bb5a1cebd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- yt/utilities/lib/platform_dep.h.orig 2021-08-02 20:27:17 UTC
+++ yt/utilities/lib/platform_dep.h
@@ -59,6 +59,10 @@ double erf(double x)
#else
#include <stdint.h>
-#include "alloca.h"
+#if !defined(__FreeBSD__)
+# include "alloca.h"
+#else
+# include <stdlib.h>
+#endif
#include <math.h>
#endif
|