diff --git a/SDL2pp/EventWait.hh b/SDL2pp/EventWait.hh index dc55bd0..c8a3e42 100644 --- a/SDL2pp/EventWait.hh +++ b/SDL2pp/EventWait.hh @@ -24,6 +24,7 @@ #include +#include #include namespace SDL2pp { @@ -46,7 +47,7 @@ namespace SDL2pp { /// \see https://wiki.libsdl.org/SDL_WaitEvent /// //////////////////////////////////////////////////////////// - SDL_Event WaitEvent(); + SDL2PP_EXPORT SDL_Event WaitEvent(); //////////////////////////////////////////////////////////// /// \brief Waits a given amount of time for an event @@ -69,7 +70,7 @@ namespace SDL2pp { /// \see https://wiki.libsdl.org/SDL_WaitEvent /// //////////////////////////////////////////////////////////// - Optional WaitEvent(int timeout); + SDL2PP_EXPORT Optional WaitEvent(int timeout); } }