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