--- /usr/include/SDL/SDL_image.h 2008-03-25 15:23:55.000000000 -0700 +++ SDL_image.h 2009-02-03 11:20:47.000000000 -0800 @@ -25,9 +25,15 @@ #ifndef _SDL_IMAGE_H #define _SDL_IMAGE_H +#ifdef __APPLE__ +#include +#include +#include +#else #include "SDL.h" #include "SDL_version.h" #include "begin_code.h" +#endif /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus