Fix compilation error on kFreeBSD

This commit is contained in:
Sebastian Ramacher
2014-05-18 17:06:20 +02:00
committed by Sergey Sharybin
parent 85975be58e
commit 76f7a5bd6b

View File

@@ -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__)