diff --git a/src/events/SDL_displayevents.c b/src/events/SDL_displayevents.c index ba48541e0..6c696af17 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 72f8636b4..41def7b92 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 0f6b5bf4c..7f3ac6a86 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 610fad5ce..a62a2ce61 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