From d1d9c8d094d2f3345503caffd75cc57be9fd547f Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Tue, 12 Apr 2016 19:24:57 +0200 Subject: [PATCH] There's no malloc.h on FreeBSD. Like in OS X malloc() is part of stdlib.h. --- Sources/Ecc/StdH.h | 2 +- Sources/Engine/Engine.h | 2 +- Sources/Engine/StdH.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Ecc/StdH.h b/Sources/Ecc/StdH.h index 8c19296..1b048a0 100644 --- a/Sources/Ecc/StdH.h +++ b/Sources/Ecc/StdH.h @@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include -#if !PLATFORM_MACOSX +#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD) #include #endif diff --git a/Sources/Engine/Engine.h b/Sources/Engine/Engine.h index eb17bdf..d63fae4 100644 --- a/Sources/Engine/Engine.h +++ b/Sources/Engine/Engine.h @@ -38,7 +38,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include // for qsort #include // for FPU control -#if !PLATFORM_MACOSX +#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD) #include #endif diff --git a/Sources/Engine/StdH.h b/Sources/Engine/StdH.h index 61fae43..d889b87 100644 --- a/Sources/Engine/StdH.h +++ b/Sources/Engine/StdH.h @@ -27,7 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include // for qsort #include // for FPU control -#if !PLATFORM_MACOSX +#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD) #include #endif