[Bf-blender-cvs] [7881c251f33] blender-v2.83-release: Fix build error in Cycles standalone without guarded allocator

Brecht Van Lommel noreply at git.blender.org
Tue Jun 2 06:30:39 CEST 2020


Commit: 7881c251f330e60cb9931143c46e302789f8007b
Author: Brecht Van Lommel
Date:   Tue Jun 2 06:26:28 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB7881c251f330e60cb9931143c46e302789f8007b

Fix build error in Cycles standalone without guarded allocator

Solution suggested by howetuft.

Differential Revision: https://developer.blender.org/D7892

===================================================================

M	intern/cycles/util/util_guarded_allocator.h

===================================================================

diff --git a/intern/cycles/util/util_guarded_allocator.h b/intern/cycles/util/util_guarded_allocator.h
index 2d09326d2ca..f78cc5f5da9 100644
--- a/intern/cycles/util/util_guarded_allocator.h
+++ b/intern/cycles/util/util_guarded_allocator.h
@@ -18,6 +18,7 @@
 #define __UTIL_GUARDED_ALLOCATOR_H__
 
 #include <cstddef>
+#include <cstdlib>
 #include <memory>
 
 #ifdef WITH_BLENDER_GUARDEDALLOC



More information about the Bf-blender-cvs mailing list