Marc Legendre 9 лет назад
Родитель
Сommit
0c378dd6fb
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      Source/BansheeUtility/Include/BsMemoryAllocator.h

+ 6 - 1
Source/BansheeUtility/Include/BsMemoryAllocator.h

@@ -6,6 +6,11 @@
 #undef max
 
 #include <atomic>
+#include <utility>
+
+#if BS_PLATFORM == BS_PLATFORM_LINUX
+#  include <malloc.h>
+#endif
 
 namespace BansheeEngine
 {
@@ -412,4 +417,4 @@ namespace BansheeEngine
 
 #include "BsMemStack.h"
 #include "BsGlobalFrameAlloc.h"
-#include "BsMemAllocProfiler.h"
+#include "BsMemAllocProfiler.h"