Fix compilation error on kFreeBSD
This commit is contained in:

committed by
Sergey Sharybin

parent
85975be58e
commit
76f7a5bd6b
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
#undef HAVE_MALLOC_STATS
|
#undef HAVE_MALLOC_STATS
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__) || (defined(__FreeBSD_kernel__) && !defined(__FreeBSD__))
|
||||||
# include <malloc.h>
|
# include <malloc.h>
|
||||||
# define HAVE_MALLOC_STATS
|
# define HAVE_MALLOC_STATS
|
||||||
#elif defined(__FreeBSD__)
|
#elif defined(__FreeBSD__)
|
||||||
|
Reference in New Issue
Block a user