summaryrefslogtreecommitdiff
path: root/test/wasm2c/check-imports.txt
diff options
context:
space:
mode:
authorPetr Penzin <petr.penzin@intel.com>2023-04-22 00:28:23 -0700
committerGitHub <noreply@github.com>2023-04-22 07:28:23 +0000
commit359fd7cf07c59e9c5ad40c21e80ac2a4842964d6 (patch)
tree627fe856c186300d1b99f50ef225fc1d487bb641 /test/wasm2c/check-imports.txt
parente790d102f59d78958e2fc95c3d61d48b4e68b2aa (diff)
downloadwabt-359fd7cf07c59e9c5ad40c21e80ac2a4842964d6.tar.gz
wabt-359fd7cf07c59e9c5ad40c21e80ac2a4842964d6.tar.bz2
wabt-359fd7cf07c59e9c5ad40c21e80ac2a4842964d6.zip
wasm2c.includes.c: replace alloca.h with stdlib.h on FreeBSD (#2212)
Diffstat (limited to 'test/wasm2c/check-imports.txt')
-rw-r--r--test/wasm2c/check-imports.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/wasm2c/check-imports.txt b/test/wasm2c/check-imports.txt
index db39ca8b..eb7cad35 100644
--- a/test/wasm2c/check-imports.txt
+++ b/test/wasm2c/check-imports.txt
@@ -89,6 +89,8 @@ extern const u8 wasm2c_test_is64_env_0x5F_linear_memory;
#include <intrin.h>
#include <malloc.h>
#define alloca _alloca
+#elif defined(__FreeBSD__)
+#include <stdlib.h>
#else
#include <alloca.h>
#endif