diff --git a/libraries/libstratosphere/source/mitm/mitm_pm_api.cpp b/libraries/libstratosphere/source/mitm/mitm_pm_api.cpp
index a49cf9ce9..71064cca6 100644
--- a/libraries/libstratosphere/source/mitm/mitm_pm_api.cpp
+++ b/libraries/libstratosphere/source/mitm/mitm_pm_api.cpp
@@ -14,7 +14,9 @@
* along with this program. If not, see .
*/
#include
+#if defined(ATMOSPHERE_OS_HORIZON)
#include "mitm_pm.os.horizon.h"
+#endif
namespace ams::mitm::pm {