strat: only include windows.h in translation units where actually needed

This commit is contained in:
Michael Scire
2022-03-17 14:02:02 -07:00
parent 3c07819cd2
commit 99fc16bfd0
17 changed files with 28 additions and 7 deletions

View File

@@ -15,6 +15,7 @@
*/
#include <stratosphere.hpp>
#if defined(ATMOSPHERE_OS_WINDOWS)
#include <stratosphere/windows.hpp>
#include <winerror.h>
#include <winioctl.h>
#elif defined(ATMOSPHERE_OS_LINUX) || defined(ATMOSPHERE_OS_MACOS)