diff --git a/library/include/Hooks.h b/library/include/Hooks.h index 8511c6e70..83325c031 100644 --- a/library/include/Hooks.h +++ b/library/include/Hooks.h @@ -33,6 +33,8 @@ distribution. #include #include +#include "modules/Graphic.h" + // function and variable pointer... we don't try to understand what SDL does here typedef void * fPtr; typedef void * vPtr; @@ -45,7 +47,6 @@ namespace SDL // these functions are here because they call into DFHack::Core and therefore need to // be declared as friend functions/known #ifdef _DARWIN -#include "modules/Graphic.h" DFhackCExport int DFH_SDL_NumJoysticks(void); DFhackCExport void DFH_SDL_Quit(void); DFhackCExport int DFH_SDL_PollEvent(SDL::Event* event);