Fix FreeBSD build with recent malloc changes, patch by Shane Ambler.

This commit is contained in:
Brecht Van Lommel 2013-10-11 14:41:00 +00:00
parent 76c94972da
commit 1760f5fdcc

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