Fix compilation error non non-linux architectures

This commit is contained in:
Matteo F. Vescovi
2014-05-26 09:37:54 +02:00
committed by Sergey Sharybin
parent 3e6c734eaa
commit 9b23d9acec
3 changed files with 5 additions and 2 deletions

View File

@@ -51,7 +51,7 @@
#undef HAVE_MALLOC_STATS
#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__))
#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__)) || defined(__GLIBC__)
# include <malloc.h>
# define HAVE_MALLOC_STATS
#elif defined(__FreeBSD__)