Patched to compile.
diff --git a/test/testgesture.c b/test/testgesture.c
index 4c988f4..dcf9788 100644
--- a/test/testgesture.c
+++ b/test/testgesture.c
@@ -170,6 +170,7 @@ SDL_Window* initWindow(SDL_Window *window, int width,int height)
void loop()
{
+ static SDL_Window *window = NULL;
SDL_Event event;
SDL_RWops *stream;