There's no malloc.h on FreeBSD.

Like in OS X malloc() is part of stdlib.h.
This commit is contained in:
Yamagi Burmeister 2016-04-12 19:24:57 +02:00
parent 08dae0c605
commit d1d9c8d094
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <stdarg.h> #include <stdarg.h>
#include <math.h> #include <math.h>
#if !PLATFORM_MACOSX #if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD)
#include <malloc.h> #include <malloc.h>
#endif #endif

View File

@ -38,7 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <search.h> // for qsort #include <search.h> // for qsort
#include <float.h> // for FPU control #include <float.h> // for FPU control
#if !PLATFORM_MACOSX #if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD)
#include <malloc.h> #include <malloc.h>
#endif #endif

View File

@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <search.h> // for qsort #include <search.h> // for qsort
#include <float.h> // for FPU control #include <float.h> // for FPU control
#if !PLATFORM_MACOSX #if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD)
#include <malloc.h> #include <malloc.h>
#endif #endif