diff --git a/src/Common/SysAllocator.h b/src/Common/SysAllocator.h index 80afc129..4d59d7c6 100644 --- a/src/Common/SysAllocator.h +++ b/src/Common/SysAllocator.h @@ -1,5 +1,9 @@ #pragma once +#include +#include +#include + uint32 coreinit_allocFromSysArea(uint32 size, uint32 alignment); class SysAllocatorBase; diff --git a/src/Common/cpu_features.h b/src/Common/cpu_features.h index 130b51a8..f6c06130 100644 --- a/src/Common/cpu_features.h +++ b/src/Common/cpu_features.h @@ -1,4 +1,3 @@ - #ifdef __GNUC__ #define ATTRIBUTE_AVX2 __attribute__((target("avx2"))) #define ATTRIBUTE_SSE41 __attribute__((target("sse4.1"))) @@ -9,6 +8,8 @@ #define ATTRIBUTE_AESNI #endif +#include + class CPUFeaturesImpl { public: @@ -33,4 +34,4 @@ private: char m_cpuBrandName[0x40]{ 0 }; }; -extern CPUFeaturesImpl g_CPUFeatures; \ No newline at end of file +extern CPUFeaturesImpl g_CPUFeatures; diff --git a/src/config/ConfigValue.h b/src/config/ConfigValue.h index ecffc119..7e50d63e 100644 --- a/src/config/ConfigValue.h +++ b/src/config/ConfigValue.h @@ -4,6 +4,9 @@ #include #include +#include +#include +#include template class ConfigValueAtomic diff --git a/src/gui/wxgui/MemorySearcherTool.h b/src/gui/wxgui/MemorySearcherTool.h index 77820524..3d6c0d87 100644 --- a/src/gui/wxgui/MemorySearcherTool.h +++ b/src/gui/wxgui/MemorySearcherTool.h @@ -3,6 +3,7 @@ #include #include #include +#include #include diff --git a/src/util/helpers/helpers.h b/src/util/helpers/helpers.h index f4728f28..359602b4 100644 --- a/src/util/helpers/helpers.h +++ b/src/util/helpers/helpers.h @@ -3,6 +3,7 @@ #include #include #include +#include #include "util/math/vector2.h" #include "util/math/vector3.h"