diff --git a/Core/HLE/sceKernelTime.cpp b/Core/HLE/sceKernelTime.cpp index 1ef8f7af92aa..91432dfe68a7 100644 --- a/Core/HLE/sceKernelTime.cpp +++ b/Core/HLE/sceKernelTime.cpp @@ -21,6 +21,7 @@ #endif #include +#include #include "HLE.h" #include "../MIPS/MIPS.h" diff --git a/ext/xbrz/xbrz.cpp b/ext/xbrz/xbrz.cpp index 9012bfa7b6dc..fad126aaf4e0 100644 --- a/ext/xbrz/xbrz.cpp +++ b/ext/xbrz/xbrz.cpp @@ -17,6 +17,7 @@ #include #include #include +#include namespace { @@ -32,7 +33,7 @@ inline unsigned char getBlue (uint32_t val) { return getByte<1>(val); } template inline T abs(T value) { - static_assert(std::is_signed::value, ""); + static_assert(std::numeric_limits::is_signed, "abs performed on unsigned"); return value < 0 ? -value : value; }