aboutsummaryrefslogtreecommitdiff
path: root/math/giacxcas/files/patch-src_quickjs.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/giacxcas/files/patch-src_quickjs.c')
-rw-r--r--math/giacxcas/files/patch-src_quickjs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/giacxcas/files/patch-src_quickjs.c b/math/giacxcas/files/patch-src_quickjs.c
new file mode 100644
index 000000000000..c330699c7c28
--- /dev/null
+++ b/math/giacxcas/files/patch-src_quickjs.c
@@ -0,0 +1,11 @@
+--- src/quickjs.c.orig 2021-03-23 12:33:15 UTC
++++ src/quickjs.c
+@@ -41,6 +41,8 @@
+ #include <malloc/malloc.h>
+ #elif defined(__linux__)
+ #include <malloc.h>
++#elif defined(__FreeBSD__)
++#include <malloc_np.h>
+ #endif
+
+ #ifdef EMCC