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 committed by SciresM
parent 000713186f
commit ca142889c4
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)