Sfoglia il codice sorgente

Fix missing includes

Marc Legendre 9 anni fa
parent
commit
0c378dd6fb
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  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"