Make it compile.

develop
expwnent 2014-11-15 16:03:36 -05:00
parent c7481aeab9
commit 2edc3594b8
1 changed files with 2 additions and 1 deletions

@ -33,6 +33,8 @@ distribution.
#include <string>
#include <stdint.h>
#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);