1--- a/src/core/util_string.cpp 2014-10-27 22:52:11.875981552 +0100
2+++ b/src/core/util_string.cpp 2014-10-27 22:54:18.613001994 +0100
3@@ -40,6 +40,10 @@
4 #include <linux/limits.h>
5 #endif // __PLATFORM_LINUX__
6
7+#ifdef __PLATFORM_MACOSX__
8+#include <limits.h>
9+#endif // __PLATFORM_MACOSX__
10+
11 #include <stdio.h>
12 using namespace std;
13