From 866b7c20a8958069a048ffa600155ec3cbd2e5f2 Mon Sep 17 00:00:00 2001 From: ameerj <52414509+ameerj@users.noreply.github.com> Date: Sat, 19 Mar 2022 01:50:03 -0400 Subject: general: Fix clang/gcc build errors --- src/core/crypto/key_manager.h | 5 +---- src/core/file_sys/patch_manager.cpp | 4 ++++ 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/core') diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h index 34ea5bbd4..ac1eb8962 100644 --- a/src/core/crypto/key_manager.h +++ b/src/core/crypto/key_manager.h @@ -5,6 +5,7 @@ #pragma once #include +#include #include #include #include @@ -15,10 +16,6 @@ #include "common/common_types.h" #include "core/crypto/partition_data_manager.h" -namespace std::filesystem { -class path; -} - namespace Common::FS { class IOFile; } diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index 5882b971b..c4e185757 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp @@ -10,6 +10,10 @@ #include "common/hex_util.h" #include "common/logging/log.h" #include "common/settings.h" +#ifndef _WIN32 +#include "common/string_util.h" +#endif + #include "core/core.h" #include "core/file_sys/common_funcs.h" #include "core/file_sys/content_archive.h" -- cgit v1.2.3