diff --git a/FEXCore/include/FEXCore/Core/Thunks.h b/FEXCore/include/FEXCore/Core/Thunks.h index df97e6427..f0e417468 100644 --- a/FEXCore/include/FEXCore/Core/Thunks.h +++ b/FEXCore/include/FEXCore/Core/Thunks.h @@ -7,18 +7,6 @@ $end_info$ #pragma once -#include -#include -#include - -namespace FEXCore::Context { -class Context; -} - -namespace FEXCore::Core { -struct InternalThreadState; -} - namespace FEXCore::IR { struct SHA256Sum; } @@ -28,7 +16,7 @@ typedef void ThunkedFunction(void* ArgsRv); class ThunkHandler { public: + virtual ~ThunkHandler() = default; virtual ThunkedFunction* LookupThunk(const IR::SHA256Sum& sha256) = 0; - virtual ~ThunkHandler() {} }; -}; // namespace FEXCore +} // namespace FEXCore diff --git a/Source/Tools/LinuxEmulation/Thunks.h b/Source/Tools/LinuxEmulation/Thunks.h index 163c6e084..16a89ce70 100644 --- a/Source/Tools/LinuxEmulation/Thunks.h +++ b/Source/Tools/LinuxEmulation/Thunks.h @@ -1,6 +1,9 @@ // SPDX-License-Identifier: MIT +#pragma once + #include #include +#include #include