diff --git a/src/gba/GBALink.cpp b/src/gba/GBALink.cpp index c121ed15..655392f8 100644 --- a/src/gba/GBALink.cpp +++ b/src/gba/GBALink.cpp @@ -1,9 +1,15 @@ // This file was written by denopqrihg // with major changes by tjm #include -#include #include +// malloc.h does not seem to exist on Mac OS 10.7 +#ifdef __APPLE__ +#include +#else +#include +#endif + #ifdef _MSC_VER #define snprintf _snprintf #endif