Fixed build
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
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