diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-11-14 15:38:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-11-14 15:38:53 +0300 |
commit | f23a595228bd56da87385e80922aefb5c72e9877 (patch) | |
tree | 0a846df8d1901962010db66150898f7ef5d69b9e /source/blender/blenlib | |
parent | b5eeec715efd7124610316b3ebf0791eb2fd6fef (diff) |
Add stdlib include for utildefines
Ideally we could just declare abort, but this has attributes
based on the platform, so include stdlib instead.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_utildefines.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h index 1186e4a0713..b13d5e368ec 100644 --- a/source/blender/blenlib/BLI_utildefines.h +++ b/source/blender/blenlib/BLI_utildefines.h @@ -609,6 +609,9 @@ extern bool BLI_memory_is_zero(const void *arr, const size_t arr_size); /* BLI_assert(), default only to print * for aborting need to define WITH_ASSERT_ABORT */ +/* For 'abort' only. */ +#include <stdlib.h> + #ifndef NDEBUG # include "BLI_system.h" # ifdef WITH_ASSERT_ABORT |