From 50d50025332b32f18eb8f079b643a93cd09868e1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 23 Aug 2018 02:21:17 -0700 Subject: [PATCH] Fixed build --- src/events/SDL_displayevents.c | 1 - src/events/SDL_displayevents_c.h | 2 -- src/events/SDL_events_c.h | 2 ++ src/events/SDL_windowevents.c | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) 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