From 27280f178bf2ea94f575849da036d11d23f30d94 Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Thu, 4 Dec 2014 21:57:00 +0100 Subject: Fix some headers to include their dependencies properly. --- src/common/common_funcs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common/common_funcs.h') 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 @@ #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 + // Function Cross-Compatibility #define strcasecmp _stricmp #define strncasecmp _strnicmp -- cgit v1.2.3 From 0cd27a511ecd170484b672263c09192b579e31ac Mon Sep 17 00:00:00 2001 From: Tony Wasserka Date: Thu, 4 Dec 2014 19:41:03 +0100 Subject: Some code cleanup. --- src/common/common_funcs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/common_funcs.h') diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 3f6df075a..db041780a 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h @@ -39,6 +39,8 @@ template<> struct CompileTimeAssert {}; #include #endif +#include "common_types.h" + // go to debugger mode #ifdef GEKKO #define Crash() -- cgit v1.2.3