summaryrefslogtreecommitdiff
path: root/wasm2c/examples/fac/fac.h
diff options
context:
space:
mode:
Diffstat (limited to 'wasm2c/examples/fac/fac.h')
-rw-r--r--wasm2c/examples/fac/fac.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wasm2c/examples/fac/fac.h b/wasm2c/examples/fac/fac.h
index 5450fe42..f85dc5a9 100644
--- a/wasm2c/examples/fac/fac.h
+++ b/wasm2c/examples/fac/fac.h
@@ -6,6 +6,10 @@
#include "wasm-rt.h"
+#if defined(WASM_RT_ENABLE_EXCEPTION_HANDLING)
+#include "wasm-rt-exceptions.h"
+#endif
+
#if defined(WASM_RT_ENABLE_SIMD)
#include "simde/wasm/simd128.h"
#endif