From 7a262bf1c163308fe4ce3d8a839991741f627e4b Mon Sep 17 00:00:00 2001 From: Brian Cox Date: Fri, 1 Sep 2017 17:13:57 -0700 Subject: [PATCH] Fix AROS build issue that crept in somehow --- src/core/msystem.cpp | 2 +- src/twparser/yylex.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/msystem.cpp b/src/core/msystem.cpp index f63c3cb..025442d 100644 --- a/src/core/msystem.cpp +++ b/src/core/msystem.cpp @@ -78,7 +78,7 @@ #include #include #include -#if defined(HAVE_MALLOC_H) +#if HAVE_MALLOC_H && !IS_AROS #include #endif #include diff --git a/src/twparser/yylex.cpp b/src/twparser/yylex.cpp index 5fc5b78..b77935b 100644 --- a/src/twparser/yylex.cpp +++ b/src/twparser/yylex.cpp @@ -515,7 +515,7 @@ const int MIN_NUM_STATES = 20; //#endif #include -#ifdef HAVE_MALLOC_H +#if HAVE_MALLOC_H && !IS_AROS #include #endif #include