summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Tony Wasserka2014-12-04 21:57:00 +0100
committerGravatar Tony Wasserka2014-12-09 16:37:34 +0100
commit27280f178bf2ea94f575849da036d11d23f30d94 (patch)
treef052de7c0c24dd19e2a161aa71791fdf6c8e12c4 /src
parentMerge pull request #217 from archshift/cmd_buff (diff)
downloadyuzu-27280f178bf2ea94f575849da036d11d23f30d94.tar.gz
yuzu-27280f178bf2ea94f575849da036d11d23f30d94.tar.xz
yuzu-27280f178bf2ea94f575849da036d11d23f30d94.zip
Fix some headers to include their dependencies properly.
Diffstat (limited to 'src')
-rw-r--r--src/common/common_funcs.h4
-rw-r--r--src/common/log.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h
index 1139dc3b8..3f6df075a 100644
--- a/src/common/common_funcs.h
+++ b/src/common/common_funcs.h
@@ -4,6 +4,8 @@
4 4
5#pragma once 5#pragma once
6 6
7#include "common_types.h"
8
7#ifdef _WIN32 9#ifdef _WIN32
8#define SLEEP(x) Sleep(x) 10#define SLEEP(x) Sleep(x)
9#else 11#else
@@ -73,6 +75,8 @@ inline u64 _rotr64(u64 x, unsigned int shift){
73} 75}
74 76
75#else // WIN32 77#else // WIN32
78#include <locale.h>
79
76// Function Cross-Compatibility 80// Function Cross-Compatibility
77 #define strcasecmp _stricmp 81 #define strcasecmp _stricmp
78 #define strncasecmp _strnicmp 82 #define strncasecmp _strnicmp
diff --git a/src/common/log.h b/src/common/log.h
index 14ad98c08..ff0295cb0 100644
--- a/src/common/log.h
+++ b/src/common/log.h
@@ -4,6 +4,9 @@
4 4
5#pragma once 5#pragma once
6 6
7#include "common/common_funcs.h"
8#include "common/msg_handler.h"
9
7#ifndef LOGGING 10#ifndef LOGGING
8#define LOGGING 11#define LOGGING
9#endif 12#endif