diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/clog/clog.c | 1 | ||||
-rw-r--r-- | intern/guardedalloc/MEM_guardedalloc.h | 2 | ||||
-rw-r--r-- | intern/guardedalloc/intern/leak_detector.cc | 1 | ||||
-rw-r--r-- | intern/guardedalloc/intern/mallocn_guarded_impl.c | 1 | ||||
-rw-r--r-- | intern/guardedalloc/intern/mallocn_lockfree_impl.c | 1 |
5 files changed, 4 insertions, 2 deletions
diff --git a/intern/clog/clog.c b/intern/clog/clog.c index 391b71d77de..01d1c0a1770 100644 --- a/intern/clog/clog.c +++ b/intern/clog/clog.c @@ -21,6 +21,7 @@ #include <assert.h> #include <stdarg.h> #include <stdint.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index df5593ba484..3d51c04f929 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -49,8 +49,6 @@ #ifndef __MEM_GUARDEDALLOC_H__ #define __MEM_GUARDEDALLOC_H__ -#include <stdio.h> /* needed for FILE* */ - /* Needed for uintptr_t and attributes, exception, don't use BLI anywhere else in `MEM_*` */ #include "../../source/blender/blenlib/BLI_compiler_attrs.h" #include "../../source/blender/blenlib/BLI_sys_types.h" diff --git a/intern/guardedalloc/intern/leak_detector.cc b/intern/guardedalloc/intern/leak_detector.cc index fb8d4e72cac..3ce6996649e 100644 --- a/intern/guardedalloc/intern/leak_detector.cc +++ b/intern/guardedalloc/intern/leak_detector.cc @@ -19,6 +19,7 @@ */ #include <cstdlib> +#include <stdio.h> /* Needed for `printf` on WIN32/APPLE. */ #include "MEM_guardedalloc.h" #include "mallocn_intern.h" diff --git a/intern/guardedalloc/intern/mallocn_guarded_impl.c b/intern/guardedalloc/intern/mallocn_guarded_impl.c index 6a0d104d47d..a7c3dc0951e 100644 --- a/intern/guardedalloc/intern/mallocn_guarded_impl.c +++ b/intern/guardedalloc/intern/mallocn_guarded_impl.c @@ -25,6 +25,7 @@ #include <stdarg.h> #include <stddef.h> /* offsetof */ +#include <stdio.h> /* printf */ #include <stdlib.h> #include <string.h> /* memcpy */ #include <sys/types.h> diff --git a/intern/guardedalloc/intern/mallocn_lockfree_impl.c b/intern/guardedalloc/intern/mallocn_lockfree_impl.c index 8f5c9cf85a9..a843086a1f1 100644 --- a/intern/guardedalloc/intern/mallocn_lockfree_impl.c +++ b/intern/guardedalloc/intern/mallocn_lockfree_impl.c @@ -21,6 +21,7 @@ */ #include <stdarg.h> +#include <stdio.h> /* printf */ #include <stdlib.h> #include <string.h> /* memcpy */ #include <sys/types.h> |