diff --git a/tests/test_eventwait.cc b/tests/test_eventwait.cc index 8487771..4e3ea8b 100644 --- a/tests/test_eventwait.cc +++ b/tests/test_eventwait.cc @@ -1,5 +1,6 @@ -#include +#include +#include #include #include "testing.h" @@ -8,6 +9,8 @@ using namespace SDL2pp; using namespace SDL2pp::Event; BEGIN_TEST(int, char*[]) + const SDL sdl(SDL_INIT_EVENTS); + // Test wait event with no timeout { SDL_Event expected;