diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-06-02 07:26:28 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-06-02 07:27:39 +0300 |
commit | 7881c251f330e60cb9931143c46e302789f8007b (patch) | |
tree | 3349980e04c80d679309b8ad4c4330bc0528d2b0 /intern | |
parent | 389d5504120fb1a331a13118979a896b7e31ee0f (diff) |
Fix build error in Cycles standalone without guarded allocator
Solution suggested by howetuft.
Differential Revision: https://developer.blender.org/D7892
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/util/util_guarded_allocator.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 |