From 27280f178bf2ea94f575849da036d11d23f30d94 Mon Sep 17 00:00:00 2001
From: Tony Wasserka <NeoBrainX@gmail.com>
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 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 _strnicmp
-- 
cgit v1.2.3-70-g09d2