VERY experimental Nintendo Switch 2 emulator
C++
Fix some headers to include their dependencies properly.
Tony Wasserka27280f178bf2
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.hindex 1139dc3b8a..3f6df075a2 100644--- a/src/common/common_funcs.h+++ b/src/common/common_funcs.h@@ -4,6 +4,8 @@#pragma once+#include "common_types.h"+#ifdef _WIN32#define SLEEP(x) Sleep(x)#else@@ -73,6 +75,8 @@ inline u64 _rotr64(u64 x, unsigned int shift){}#else // WIN32+#include <locale.h>+// Function Cross-Compatibility#define strcasecmp _stricmp#define strncasecmp _strnicmpdiff --git a/src/common/log.h b/src/common/log.hindex 14ad98c08c..ff0295cb0d 100644--- a/src/common/log.h+++ b/src/common/log.h@@ -4,6 +4,9 @@#pragma once+#include "common/common_funcs.h"+#include "common/msg_handler.h"+#ifndef LOGGING#define LOGGING#endif