From 2fc87f47889b242fe214e728ccb435253c0b6399 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 1 Feb 2023 15:02:40 +0800 Subject: [PATCH] Update common.h --- src/common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common.h b/src/common.h index 1944158e..ba821afd 100644 --- a/src/common.h +++ b/src/common.h @@ -33,6 +33,10 @@ #define UNREACHABLE() throw std::runtime_error( __FILE__ + std::string(":") + std::to_string(__LINE__) + " UNREACHABLE()!"); #endif +#ifdef __EMSCRIPTEN__ +#include +#endif + #define PK_VERSION "0.8.0" typedef int64_t i64;