Commit 50d50025332b32f18eb8f079b643a93cd09868e1

Sam Lantinga 2018-08-23T02:21:17

Fixed build

diff --git a/src/events/SDL_displayevents.c b/src/events/SDL_displayevents.c
index ba48541..6c696af 100644
--- a/src/events/SDL_displayevents.c
+++ b/src/events/SDL_displayevents.c
@@ -24,7 +24,6 @@
 
 #include "SDL_events.h"
 #include "SDL_events_c.h"
-#include "../video/SDL_sysvideo.h"
 
 
 int
diff --git a/src/events/SDL_displayevents_c.h b/src/events/SDL_displayevents_c.h
index 72f8636..41def7b 100644
--- a/src/events/SDL_displayevents_c.h
+++ b/src/events/SDL_displayevents_c.h
@@ -23,8 +23,6 @@
 #ifndef SDL_displayevents_c_h_
 #define SDL_displayevents_c_h_
 
-typedef struct SDL_VideoDisplay SDL_VideoDisplay;
-
 extern int SDL_SendDisplayEvent(SDL_VideoDisplay *display, Uint8 displayevent, int data1);
 
 #endif /* SDL_displayevents_c_h_ */
diff --git a/src/events/SDL_events_c.h b/src/events/SDL_events_c.h
index 0f6b5bf..7f3ac6a 100644
--- a/src/events/SDL_events_c.h
+++ b/src/events/SDL_events_c.h
@@ -23,6 +23,8 @@
 /* Useful functions and variables from SDL_events.c */
 #include "SDL_events.h"
 #include "SDL_thread.h"
+#include "../video/SDL_sysvideo.h"
+
 #include "SDL_clipboardevents_c.h"
 #include "SDL_displayevents_c.h"
 #include "SDL_dropevents_c.h"
diff --git a/src/events/SDL_windowevents.c b/src/events/SDL_windowevents.c
index 610fad5..a62a2ce 100644
--- a/src/events/SDL_windowevents.c
+++ b/src/events/SDL_windowevents.c
@@ -25,7 +25,6 @@
 #include "SDL_events.h"
 #include "SDL_events_c.h"
 #include "SDL_mouse_c.h"
-#include "../video/SDL_sysvideo.h"
 
 
 static int SDLCALL