From 4942d3b0b3281a2e3c1fa207ca7e62fc10c2fa88 Mon Sep 17 00:00:00 2001 From: Ng Zhi An Date: Mon, 20 Jul 2020 13:26:26 -0700 Subject: [PATCH] Add missing includes to type.h (#1491) - cassert for assert - confing.h for WABT_UNREACHABLE I think it was working because type.h was only included in common.h, both cassert and config.h was included prior to including type.h. --- src/type.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/type.h b/src/type.h index ad7525d55..aaa8aba0d 100644 --- a/src/type.h +++ b/src/type.h @@ -17,9 +17,12 @@ #ifndef WABT_TYPE_H_ #define WABT_TYPE_H_ +#include #include #include +#include "config.h" + namespace wabt { class Type;