From 05fa8926393ce4e8f7e1716433c393c47809b7d0 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 4 Jan 2009 05:52:14 +0000 Subject: [PATCH] Fixed some dependency issues with SDL_revision.h --- src/cdrom/macosx/CDPlayer.h | 2 +- src/video/dc/SDL_dcevents.c | 1 - src/video/dummy/SDL_nullevents.c | 1 - src/video/gapi/SDL_gapivideo.c | 1 - src/video/nanox/SDL_nxmodes_c.h | 1 - src/video/nds/SDL_ndsevents.c | 1 - src/video/photon/SDL_ph_events.c | 1 - src/video/photon/SDL_ph_gl.c | 1 - src/video/riscos/SDL_riscosevents.c | 1 - src/video/riscos/SDL_wimppoll.c | 1 - src/video/uikit/SDL_uikitevents.m | 1 - src/video/vgl/SDL_vglevents.c | 1 - src/video/wscons/SDL_wsconsevents.c | 1 - 13 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/cdrom/macosx/CDPlayer.h b/src/cdrom/macosx/CDPlayer.h index 037f5fe35..c1b7a40f4 100644 --- a/src/cdrom/macosx/CDPlayer.h +++ b/src/cdrom/macosx/CDPlayer.h @@ -30,7 +30,7 @@ #include #include -#include "SDL.h" +#include "SDL_cdrom.h" #include "SDL_thread.h" #include "SDL_mutex.h" diff --git a/src/video/dc/SDL_dcevents.c b/src/video/dc/SDL_dcevents.c index 390be572f..5eff70e1a 100644 --- a/src/video/dc/SDL_dcevents.c +++ b/src/video/dc/SDL_dcevents.c @@ -21,7 +21,6 @@ */ #include "SDL_config.h" -#include "SDL.h" #include "../../events/SDL_sysevents.h" #include "../../events/SDL_events_c.h" #include "SDL_dcvideo.h" diff --git a/src/video/dummy/SDL_nullevents.c b/src/video/dummy/SDL_nullevents.c index d048b6fb1..11646a3dc 100644 --- a/src/video/dummy/SDL_nullevents.c +++ b/src/video/dummy/SDL_nullevents.c @@ -24,7 +24,6 @@ /* Being a null driver, there's no event stream. We just define stubs for most of the API. */ -#include "SDL.h" #include "../../events/SDL_sysevents.h" #include "../../events/SDL_events_c.h" diff --git a/src/video/gapi/SDL_gapivideo.c b/src/video/gapi/SDL_gapivideo.c index 2cf82a10b..bb0f0c0c6 100644 --- a/src/video/gapi/SDL_gapivideo.c +++ b/src/video/gapi/SDL_gapivideo.c @@ -41,7 +41,6 @@ Inspired by http://arisme.free.fr/ports/SDL.php // wince goes to portrait mode, but does not update video memory -#include "SDL.h" #include "SDL_error.h" #include "SDL_video.h" #include "SDL_mouse.h" diff --git a/src/video/nanox/SDL_nxmodes_c.h b/src/video/nanox/SDL_nxmodes_c.h index 81a9105fd..88fb28b46 100644 --- a/src/video/nanox/SDL_nxmodes_c.h +++ b/src/video/nanox/SDL_nxmodes_c.h @@ -26,7 +26,6 @@ #include "SDL_config.h" #include "SDL_nxvideo.h" -#include extern SDL_Rect **NX_ListModes(_THIS, SDL_PixelFormat * format, Uint32 flags); extern void NX_FreeVideoModes(_THIS); diff --git a/src/video/nds/SDL_ndsevents.c b/src/video/nds/SDL_ndsevents.c index 8fa883d86..80333e82b 100644 --- a/src/video/nds/SDL_ndsevents.c +++ b/src/video/nds/SDL_ndsevents.c @@ -28,7 +28,6 @@ #include #include -#include "SDL.h" #include "../../events/SDL_sysevents.h" #include "../../events/SDL_events_c.h" diff --git a/src/video/photon/SDL_ph_events.c b/src/video/photon/SDL_ph_events.c index 2e5ce318e..4cebb6018 100644 --- a/src/video/photon/SDL_ph_events.c +++ b/src/video/photon/SDL_ph_events.c @@ -30,7 +30,6 @@ #include #include -#include "SDL.h" #include "SDL_syswm.h" #include "../SDL_sysvideo.h" #include "../../events/SDL_sysevents.h" diff --git a/src/video/photon/SDL_ph_gl.c b/src/video/photon/SDL_ph_gl.c index 56f34cf72..f127e99ce 100644 --- a/src/video/photon/SDL_ph_gl.c +++ b/src/video/photon/SDL_ph_gl.c @@ -22,7 +22,6 @@ #include "SDL_config.h" #include -#include "SDL.h" #include "SDL_ph_gl.h" #if SDL_VIDEO_OPENGL diff --git a/src/video/riscos/SDL_riscosevents.c b/src/video/riscos/SDL_riscosevents.c index 258ef25f7..942a7e4e8 100644 --- a/src/video/riscos/SDL_riscosevents.c +++ b/src/video/riscos/SDL_riscosevents.c @@ -29,7 +29,6 @@ */ -#include "SDL.h" #include "../../timer/SDL_timer_c.h" #include "../../events/SDL_sysevents.h" #include "../../events/SDL_events_c.h" diff --git a/src/video/riscos/SDL_wimppoll.c b/src/video/riscos/SDL_wimppoll.c index 42e1d47be..a87dd9372 100644 --- a/src/video/riscos/SDL_wimppoll.c +++ b/src/video/riscos/SDL_wimppoll.c @@ -28,7 +28,6 @@ Implements Pumping of events and WIMP polling */ -#include "SDL.h" #include "SDL_syswm.h" #include "../../events/SDL_sysevents.h" #include "../../events/SDL_events_c.h" diff --git a/src/video/uikit/SDL_uikitevents.m b/src/video/uikit/SDL_uikitevents.m index fb7fa51f0..12b1e281b 100644 --- a/src/video/uikit/SDL_uikitevents.m +++ b/src/video/uikit/SDL_uikitevents.m @@ -21,7 +21,6 @@ */ #include "SDL_config.h" -#include "SDL.h" #include "../../events/SDL_sysevents.h" #include "../../events/SDL_events_c.h" diff --git a/src/video/vgl/SDL_vglevents.c b/src/video/vgl/SDL_vglevents.c index 7c26c9ce1..a18ee8ada 100644 --- a/src/video/vgl/SDL_vglevents.c +++ b/src/video/vgl/SDL_vglevents.c @@ -30,7 +30,6 @@ #include #include -#include "SDL.h" #include "SDL_thread.h" #include "../../events/SDL_sysevents.h" #include "../../events/SDL_events_c.h" diff --git a/src/video/wscons/SDL_wsconsevents.c b/src/video/wscons/SDL_wsconsevents.c index 0b16ef4c0..6c5ccb27f 100644 --- a/src/video/wscons/SDL_wsconsevents.c +++ b/src/video/wscons/SDL_wsconsevents.c @@ -30,7 +30,6 @@ #include #include -#include "SDL.h" #include "../../events/SDL_sysevents.h" #include "../../events/SDL_events_c.h" #include "SDL_wsconsvideo.h"