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:
authorSebastian Ramacher <sramacher@debian.org>2014-05-18 19:06:20 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-05-19 18:35:24 +0400
commit76f7a5bd6b75a1267ada200f108a9164ce069d10 (patch)
tree7524f74baa2b4d57ce04ace63117d28d478d1f45 /intern/guardedalloc
parent85975be58e626356a1be108ff4a0f5f3b3b8c9d2 (diff)
Fix compilation error on kFreeBSD
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r--intern/guardedalloc/intern/mallocn_intern.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/guardedalloc/intern/mallocn_intern.h b/intern/guardedalloc/intern/mallocn_intern.h
index b0fd52d2766..a9d559e48f9 100644
--- a/intern/guardedalloc/intern/mallocn_intern.h
+++ b/intern/guardedalloc/intern/mallocn_intern.h
@@ -51,7 +51,7 @@
#undef HAVE_MALLOC_STATS
-#if defined(__linux__)
+#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__))
# include <malloc.h>
# define HAVE_MALLOC_STATS
#elif defined(__FreeBSD__)