Skip to content

Commit 4942d3b

Browse files
authored
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.
1 parent e58b367 commit 4942d3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/type.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,12 @@
1717
#ifndef WABT_TYPE_H_
1818
#define WABT_TYPE_H_
1919

20+
#include <cassert>
2021
#include <cstdint>
2122
#include <vector>
2223

24+
#include "config.h"
25+
2326
namespace wabt {
2427

2528
class Type;

0 commit comments

Comments
 (0)