Fix build WITH_CXX_GUARDEDALLOC
authorGermano Cavalcante <germano.costa@ig.com.br>
Thu, 19 Mar 2020 17:42:04 +0000 (14:42 -0300)
committerGermano Cavalcante <germano.costa@ig.com.br>
Thu, 19 Mar 2020 17:42:04 +0000 (14:42 -0300)
intern/dualcon/intern/ModelReader.h
source/blender/compositor/intern/COM_ExecutionGroup.h

index 0f056724a62847b1f9b364552885a65077fbf400..d1f42466cfe3ffe1eadb8c20d87c4d9707d7d4bf 100644 (file)
 
 #include "GeoCommon.h"
 
+#ifdef WITH_CXX_GUARDEDALLOC
+#  include "MEM_guardedalloc.h"
+#endif
+
 /*
  * Virtual class for input file readers
  *
index 1989a6f6205c45c5a54d233cfbe24a1170628d54..0299dad2ee82cbb4c4c77410f8c6d5ef67768771 100644 (file)
 #ifndef __COM_EXECUTIONGROUP_H__
 #define __COM_EXECUTIONGROUP_H__
 
+#ifdef WITH_CXX_GUARDEDALLOC
+#  include "MEM_guardedalloc.h"
+#endif
+
 #include "BLI_rect.h"
 #include "COM_CompositorContext.h"
 #include "COM_Device.h"