Skip to content

Commit

Permalink
Add missing includes to type.h (#1491)
Browse files Browse the repository at this point in the history
- 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.
  • Loading branch information
ngzhian authored Jul 20, 2020
1 parent e58b367 commit 4942d3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
#ifndef WABT_TYPE_H_
#define WABT_TYPE_H_

#include <cassert>
#include <cstdint>
#include <vector>

#include "config.h"

namespace wabt {

class Type;
Expand Down

0 comments on commit 4942d3b

Please sign in to comment.