diff --git a/Source/UnitTests/Core/PatchAllowlistTest.cpp b/Source/UnitTests/Core/PatchAllowlistTest.cpp index c2b6be61e60..85111fb6079 100644 --- a/Source/UnitTests/Core/PatchAllowlistTest.cpp +++ b/Source/UnitTests/Core/PatchAllowlistTest.cpp @@ -1,6 +1,8 @@ // Copyright 2024 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#ifdef USE_RETRO_ACHIEVEMENTS + #include #include #include @@ -191,3 +193,5 @@ void ReadVerified(const Common::IniFile& ini, const std::string& filename, } } } + +#endif // USE_RETRO_ACHIEVEMENTS