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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-10-11 18:41:00 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-10-11 18:41:00 +0400
commit1760f5fdcceaf8414b20b748e3b0e1aa35d93af1 (patch)
tree5825a7d24a597863fbe3e63aef89a323d7734241 /intern/guardedalloc
parent76c94972da8b6b3c6fc4c491dee1f491b0da3ece (diff)
Fix FreeBSD build with recent malloc changes, patch by Shane Ambler.
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r--intern/guardedalloc/intern/mallocn_intern.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/guardedalloc/intern/mallocn_intern.h b/intern/guardedalloc/intern/mallocn_intern.h
index 29de1af3b8d..db45b59b884 100644
--- a/intern/guardedalloc/intern/mallocn_intern.h
+++ b/intern/guardedalloc/intern/mallocn_intern.h
@@ -54,6 +54,8 @@
#if defined(__linux__)
# include <malloc.h>
# define HAVE_MALLOC_STATS
+#elif defined(__FreeBSD__)
+# include <malloc_np.h>
#elif defined(__APPLE__)
# include <malloc/malloc.h>
# define malloc_usable_size malloc_size