summaryrefslogtreecommitdiff
path: root/src/ir
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir')
-rw-r--r--src/ir/cost.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ir/cost.h b/src/ir/cost.h
index defd9413e..b64ca5110 100644
--- a/src/ir/cost.h
+++ b/src/ir/cost.h
@@ -17,6 +17,9 @@
#ifndef wasm_ir_cost_h
#define wasm_ir_cost_h
+#include <wasm.h>
+#include <wasm-traversal.h>
+
namespace wasm {
// Measure the execution cost of an AST. Very handwave-ey