From 0faa1109d2597f10de4d78bca94dab6a901af826 Mon Sep 17 00:00:00 2001 From: Nemoumbra Date: Thu, 7 Sep 2023 12:14:36 +0300 Subject: [PATCH] Included for std::min --- Common/System/OSD.cpp | 2 ++ Core/MIPS/ARM64/Arm64IRJit.cpp | 3 +++ Core/MIPS/RiscV/RiscVJit.cpp | 3 +++ 3 files changed, 8 insertions(+) diff --git a/Common/System/OSD.cpp b/Common/System/OSD.cpp index 7a896f20a6..1d0a1a3cb8 100644 --- a/Common/System/OSD.cpp +++ b/Common/System/OSD.cpp @@ -1,4 +1,6 @@ #include +#include +// for std::min #include "Common/System/OSD.h" #include "Common/TimeUtil.h" diff --git a/Core/MIPS/ARM64/Arm64IRJit.cpp b/Core/MIPS/ARM64/Arm64IRJit.cpp index d315afef17..b99e116744 100644 --- a/Core/MIPS/ARM64/Arm64IRJit.cpp +++ b/Core/MIPS/ARM64/Arm64IRJit.cpp @@ -25,6 +25,9 @@ #include "Core/MIPS/ARM64/Arm64IRJit.h" #include "Core/MIPS/ARM64/Arm64IRRegCache.h" +#include +// for std::min + namespace MIPSComp { using namespace Arm64Gen; diff --git a/Core/MIPS/RiscV/RiscVJit.cpp b/Core/MIPS/RiscV/RiscVJit.cpp index 023687e47f..8d3f0155c3 100644 --- a/Core/MIPS/RiscV/RiscVJit.cpp +++ b/Core/MIPS/RiscV/RiscVJit.cpp @@ -21,6 +21,9 @@ #include "Core/MIPS/RiscV/RiscVJit.h" #include "Core/MIPS/RiscV/RiscVRegCache.h" +#include +// for std::min + namespace MIPSComp { using namespace RiscVGen;