From 24dcb9cc4f6a13c50fe415c0c47dc85a1c389086 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Sun, 17 Apr 2016 01:06:39 +0200 Subject: [PATCH] Don't #include on Linux, only on Windows Linux, FreeBSD and OSX should use stdlib.h instead. --- Sources/Ecc/StdH.h | 2 +- Sources/Engine/Engine.h | 5 +---- Sources/Engine/StdH.h | 5 +---- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Sources/Ecc/StdH.h b/Sources/Ecc/StdH.h index 1b048a0..ea0cdca 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 !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD) +#ifdef PLATFORM_WIN32 #include #endif diff --git a/Sources/Engine/Engine.h b/Sources/Engine/Engine.h index d63fae4..538a294 100644 --- a/Sources/Engine/Engine.h +++ b/Sources/Engine/Engine.h @@ -38,12 +38,9 @@ with this program; if not, write to the Free Software Foundation, Inc., #include // for qsort #include // for FPU control -#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD) -#include -#endif - /* rcg10042001 !!! FIXME: Move these somewhere. */ #if (defined PLATFORM_WIN32) +#include #include #include #include diff --git a/Sources/Engine/StdH.h b/Sources/Engine/StdH.h index d889b87..8547abf 100644 --- a/Sources/Engine/StdH.h +++ b/Sources/Engine/StdH.h @@ -27,11 +27,8 @@ with this program; if not, write to the Free Software Foundation, Inc., #include // for qsort #include // for FPU control -#if !defined(PLATFORM_MACOSX) && !defined(PLATFORM_FREEBSD) -#include -#endif - #ifdef PLATFORM_WIN32 +#include #include #include #include