diff --git a/ecmascript/runtime_lock.cpp b/ecmascript/runtime_lock.cpp index 3b3bdda823250bdec62b9e50f126efe8aaec52e8..7ccac15310399902a6fc93fa3cf7d403ae0bc24a 100644 --- a/ecmascript/runtime_lock.cpp +++ b/ecmascript/runtime_lock.cpp @@ -13,6 +13,7 @@ * limitations under the License. */ +#include "ecmascript/mem/heap-inl.h" #include "ecmascript/runtime_lock.h" namespace panda::ecmascript { diff --git a/ecmascript/runtime_lock.h b/ecmascript/runtime_lock.h index 698dda48dcbaa22924a3a270aa279fb35d8d4f07..463a9fd383aea5fc113147c01c5d069484ac7845 100644 --- a/ecmascript/runtime_lock.h +++ b/ecmascript/runtime_lock.h @@ -16,7 +16,6 @@ #ifndef ECMASCRIPT_RUNTIME_LOCK_H #define ECMASCRIPT_RUNTIME_LOCK_H -#include "ecmascript/mem/heap-inl.h" #include "ecmascript/js_thread.h" #include "ecmascript/platform/mutex.h" #include "ecmascript/checkpoint/thread_state_transition.h"