diff options
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/intern/mallocn_intern.h | 2 |
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 |