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

This commit is contained in:
Michael Scire committed 2022-03-17 14:02:02 -07:00
1 parent 3c07819cd2
commit 99fc16bfd0
17 files changed
+28 -7

No files matched your search

@@ -16,7 +16,10 @@
#include <stratosphere.hpp>
#include "fssrv_utility.hpp"
#if defined(ATMOSPHERE_OS_LINUX)
#if defined(ATMOSPHERE_OS_WINDOWS)
#include <stratosphere/windows.hpp>
#elif defined(ATMOSPHERE_OS_LINUX)
#include <unistd.h>
#elif defined(ATMOSPHERE_OS_MACOS)
#include <unistd.h>