From 04fd01c2c660d9bb5a35907df5357a260c44a0e6 Mon Sep 17 00:00:00 2001 From: camila314 <47485054+camila314@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:51:06 -0500 Subject: [PATCH] Fix header includes to build for non-pch --- loader/include/Geode/ui/GeodeUI.hpp | 1 + loader/include/Geode/utils/JsonValidation.hpp | 1 + loader/src/loader/SettingNodeV3.cpp | 2 ++ loader/src/loader/SettingNodeV3.hpp | 2 ++ loader/src/loader/SettingV3.cpp | 3 +++ loader/src/ui/mods/popups/ModPopup.cpp | 1 + loader/src/ui/mods/settings/ModSettingsPopup.cpp | 1 + loader/src/ui/mods/settings/ModSettingsPopup.hpp | 3 +++ loader/src/utils/JsonValidation.cpp | 1 + loader/src/utils/PlatformID.cpp | 1 + 10 files changed, 16 insertions(+) diff --git a/loader/include/Geode/ui/GeodeUI.hpp b/loader/include/Geode/ui/GeodeUI.hpp index 2d9ba1ad..8fd3c726 100644 --- a/loader/include/Geode/ui/GeodeUI.hpp +++ b/loader/include/Geode/ui/GeodeUI.hpp @@ -2,6 +2,7 @@ #include "../loader/Mod.hpp" #include +#include class ModPopup; class ModItem; diff --git a/loader/include/Geode/utils/JsonValidation.hpp b/loader/include/Geode/utils/JsonValidation.hpp index 53357a6f..cc32b56b 100644 --- a/loader/include/Geode/utils/JsonValidation.hpp +++ b/loader/include/Geode/utils/JsonValidation.hpp @@ -5,6 +5,7 @@ #include #include #include +#include namespace geode { struct JsonChecker; diff --git a/loader/src/loader/SettingNodeV3.cpp b/loader/src/loader/SettingNodeV3.cpp index 74e5da14..1985df9b 100644 --- a/loader/src/loader/SettingNodeV3.cpp +++ b/loader/src/loader/SettingNodeV3.cpp @@ -1,6 +1,8 @@ #include "SettingNodeV3.hpp" #include #include +#include +#include #include class SettingNodeSizeChangeEventV3::Impl final { diff --git a/loader/src/loader/SettingNodeV3.hpp b/loader/src/loader/SettingNodeV3.hpp index 781db5f2..c20f498b 100644 --- a/loader/src/loader/SettingNodeV3.hpp +++ b/loader/src/loader/SettingNodeV3.hpp @@ -3,6 +3,8 @@ #include #include #include +#include +#include #include using namespace geode::prelude; diff --git a/loader/src/loader/SettingV3.cpp b/loader/src/loader/SettingV3.cpp index 04f0fa80..118d4ce6 100644 --- a/loader/src/loader/SettingV3.cpp +++ b/loader/src/loader/SettingV3.cpp @@ -1,6 +1,9 @@ #include #include #include +#include +#include +#include #include #include #include "SettingNodeV3.hpp" diff --git a/loader/src/ui/mods/popups/ModPopup.cpp b/loader/src/ui/mods/popups/ModPopup.cpp index 9b0928f5..14ce5f52 100644 --- a/loader/src/ui/mods/popups/ModPopup.cpp +++ b/loader/src/ui/mods/popups/ModPopup.cpp @@ -1,6 +1,7 @@ #include "ModPopup.hpp" #include #include +#include #include #include #include diff --git a/loader/src/ui/mods/settings/ModSettingsPopup.cpp b/loader/src/ui/mods/settings/ModSettingsPopup.cpp index 5048f8b0..40099b36 100644 --- a/loader/src/ui/mods/settings/ModSettingsPopup.cpp +++ b/loader/src/ui/mods/settings/ModSettingsPopup.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include // needed for weightedFuzzyMatch #include diff --git a/loader/src/ui/mods/settings/ModSettingsPopup.hpp b/loader/src/ui/mods/settings/ModSettingsPopup.hpp index c8cd14b5..c569d53f 100644 --- a/loader/src/ui/mods/settings/ModSettingsPopup.hpp +++ b/loader/src/ui/mods/settings/ModSettingsPopup.hpp @@ -3,6 +3,9 @@ #include #include #include +#include +#include + #include "../GeodeStyle.hpp" using namespace geode::prelude; diff --git a/loader/src/utils/JsonValidation.cpp b/loader/src/utils/JsonValidation.cpp index b211ae89..71a5c908 100644 --- a/loader/src/utils/JsonValidation.cpp +++ b/loader/src/utils/JsonValidation.cpp @@ -1,4 +1,5 @@ #include +#include using namespace geode::prelude; diff --git a/loader/src/utils/PlatformID.cpp b/loader/src/utils/PlatformID.cpp index 183791c3..49038918 100644 --- a/loader/src/utils/PlatformID.cpp +++ b/loader/src/utils/PlatformID.cpp @@ -1,6 +1,7 @@ #include #include +#include using namespace geode::prelude;