Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-01-27 03:02:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-01-27 03:02:25 +0300
commit6a2e5ad59913a486752699095a8bcd1713b0ad60 (patch)
tree50ad8de4a756e3025fd9894e129aa231bd6cf12d /intern/memutil
parent340e411889d85f183ede4be6442436d7d2c83103 (diff)
[#25815] Patch gcc 4.6
with minor edits, made sure it works in CMake too.
Diffstat (limited to 'intern/memutil')
-rw-r--r--intern/memutil/intern/MEM_CacheLimiterC-Api.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp b/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp
index 50700e39203..04c780cdf8e 100644
--- a/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp
+++ b/intern/memutil/intern/MEM_CacheLimiterC-Api.cpp
@@ -20,6 +20,9 @@
*
*/
+/* for types only, not alloc functions */
+#include <malloc.h>
+
#include "MEM_CacheLimiter.h"
#include "MEM_CacheLimiterC-Api.h"