Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

added default windows include

ShizZyd5863c415e86
diff --git a/src/common/src/common.h b/src/common/src/common.h
index 0e5bf1cd37..e1cae4fee5 100644
--- a/src/common/src/common.h
+++ b/src/common/src/common.h
@@ -50,6 +50,10 @@ private:
#include "common_paths.h"
#include "platform.h"
+#if EMU_PLATFORM == PLATFORM_WINDOWS
+#include <windows.h>
+#endif
+
#ifdef __APPLE__
// The Darwin ABI requires that stack frames be aligned to 16-byte boundaries.
// This is only needed on i386 gcc - x86_64 already aligns to 16 bytes.