Просмотр исходного кода

Fix some headers to include their dependencies properly.

Tony Wasserka 11 лет назад
Родитель
Сommit
27280f178b
2 измененных файлов с 7 добавлено и 0 удалено
  1. 4 0
      src/common/common_funcs.h
  2. 3 0
      src/common/log.h

+ 4 - 0
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 _strnicmp

+ 3 - 0
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