From 543e288d706fa35aafac22507a5afc5b2e526c8c Mon Sep 17 00:00:00 2001 From: Morten Delenk Date: Sat, 27 Aug 2016 18:57:32 +0200 Subject: [PATCH] malloc.h is linux specific and should NOT be used. Also one file was missing the corresponding include --- source/3ds/lz11.cpp | 3 ++- source/pc/stb_vorbis.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source/3ds/lz11.cpp b/source/3ds/lz11.cpp index cda8e3b..133ce9a 100644 --- a/source/3ds/lz11.cpp +++ b/source/3ds/lz11.cpp @@ -2,6 +2,7 @@ #include #include +#include #include @@ -123,4 +124,4 @@ u8* lz11_compress(u8* input, u32 inputSize, u32* size) { *size = (u32) compressedLength; return buf; -} \ No newline at end of file +} diff --git a/source/pc/stb_vorbis.c b/source/pc/stb_vorbis.c index 352a8cd..67c778f 100644 --- a/source/pc/stb_vorbis.c +++ b/source/pc/stb_vorbis.c @@ -551,7 +551,7 @@ enum STBVorbisError #include #include #if !(defined(__APPLE__) || defined(MACOSX) || defined(macintosh) || defined(Macintosh)) -#include +#include #endif #else // STB_VORBIS_NO_CRT #define NULL 0