summaryrefslogtreecommitdiff
path: root/math/giacxcas/files/patch-src_quickjs.c
blob: 26f5c81fdc3ab2947b8c7871d3e54de9a6e2d60b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- src/quickjs.c.orig	2021-03-23 12:33:15 UTC
+++ src/quickjs.c
@@ -34,13 +34,15 @@
 #ifdef NSPIRE_NEWLIB
 #include "fenv.h"
 #else
-#include <fenv.h>
+#include </usr/include/fenv.h>
 #endif
 #include <math.h>
 #if defined(__APPLE__)
 #include <malloc/malloc.h>
 #elif defined(__linux__)
 #include <malloc.h>
+#elif defined(__FreeBSD__)
+#include <malloc_np.h>
 #endif
 
 #ifdef EMCC