diff --git a/src/m_menu.c b/src/m_menu.c index 7646e6322..53355c371 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -77,7 +77,7 @@ #include "m_random.h" #if defined(HAVE_SDL) -#include "SDL.h" +#include #if SDL_VERSION_ATLEAST(2,0,0) #include "sdl/sdlmain.h" // JOYSTICK_HOTPLUG #endif diff --git a/src/sdl/SDL_main/SDL_windows_main.c b/src/sdl/SDL_main/SDL_windows_main.c index f73ef30fc..83859087a 100644 --- a/src/sdl/SDL_main/SDL_windows_main.c +++ b/src/sdl/SDL_main/SDL_windows_main.c @@ -10,7 +10,7 @@ #include /* Include the SDL main definition header */ -#include "SDL.h" +#include #include "SDL_main.h" #ifdef main diff --git a/src/sdl/hwsym_sdl.c b/src/sdl/hwsym_sdl.c index 0baf05e86..ff4f9f664 100644 --- a/src/sdl/hwsym_sdl.c +++ b/src/sdl/hwsym_sdl.c @@ -31,7 +31,7 @@ #ifdef HAVE_SDL -#include "SDL.h" +#include #ifdef _MSC_VER #pragma warning(default : 4214 4244) diff --git a/src/sdl/i_main.c b/src/sdl/i_main.c index 5b205503e..eaaad76fa 100644 --- a/src/sdl/i_main.c +++ b/src/sdl/i_main.c @@ -36,7 +36,7 @@ #ifdef HAVE_SDL #ifdef HAVE_TTF -#include "SDL.h" +#include #include "i_ttf.h" #endif diff --git a/src/sdl/i_system.c b/src/sdl/i_system.c index 7e04745dd..e03bf6993 100644 --- a/src/sdl/i_system.c +++ b/src/sdl/i_system.c @@ -64,7 +64,7 @@ typedef LPVOID (WINAPI *p_MapViewOfFile) (HANDLE, DWORD, DWORD, DWORD, SIZE_T); #ifdef HAVE_SDL #define _MATH_DEFINES_DEFINED -#include "SDL.h" +#include #ifdef HAVE_TTF #include "i_ttf.h" diff --git a/src/sdl/i_ttf.c b/src/sdl/i_ttf.c index f2cd497ee..c6a98efa8 100644 --- a/src/sdl/i_ttf.c +++ b/src/sdl/i_ttf.c @@ -17,7 +17,7 @@ /// \brief SDL_ttf interface code. Necessary for platforms with no framebuffer console systems. #if defined(HAVE_SDL) && defined(HAVE_TTF) -#include "SDL.h" +#include #include "SDL_ttf.h" #include "../doomdef.h" #include "../doomstat.h" diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index ab02eb6d5..2eb773ada 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -30,7 +30,7 @@ #ifdef HAVE_SDL #define _MATH_DEFINES_DEFINED -#include "SDL.h" +#include #ifdef _MSC_VER #include diff --git a/src/sdl/mixer_sound.c b/src/sdl/mixer_sound.c index d50bb49b5..38513abab 100644 --- a/src/sdl/mixer_sound.c +++ b/src/sdl/mixer_sound.c @@ -50,7 +50,7 @@ write netcode into the sound code, OKAY? #ifdef _MSC_VER #pragma warning(disable : 4214 4244) #endif -#include "SDL.h" +#include #ifdef _MSC_VER #pragma warning(default : 4214 4244) #endif diff --git a/src/sdl/ogl_sdl.c b/src/sdl/ogl_sdl.c index 39a885f9e..5e088073f 100644 --- a/src/sdl/ogl_sdl.c +++ b/src/sdl/ogl_sdl.c @@ -25,7 +25,7 @@ #ifdef HAVE_SDL #define _MATH_DEFINES_DEFINED -#include "SDL.h" +#include #include "sdlmain.h" diff --git a/src/sdl/sdl_sound.c b/src/sdl/sdl_sound.c index ac7a35167..3b05bfa26 100644 --- a/src/sdl/sdl_sound.c +++ b/src/sdl/sdl_sound.c @@ -26,7 +26,7 @@ #if defined(HAVE_SDL) && SOUND==SOUND_SDL -#include "SDL.h" +#include #ifdef _MSC_VER #pragma warning(default : 4214 4244) diff --git a/src/sdl12/hwsym_sdl.c b/src/sdl12/hwsym_sdl.c index b6f6313f6..450d849ab 100644 --- a/src/sdl12/hwsym_sdl.c +++ b/src/sdl12/hwsym_sdl.c @@ -31,7 +31,7 @@ #ifdef HAVE_SDL -#include "SDL.h" +#include #ifdef _MSC_VER #pragma warning(default : 4214 4244) diff --git a/src/sdl12/i_main.c b/src/sdl12/i_main.c index bd66bc103..7817196bd 100644 --- a/src/sdl12/i_main.c +++ b/src/sdl12/i_main.c @@ -51,7 +51,7 @@ PSP_MAIN_THREAD_STACK_SIZE_KB(256); #ifdef HAVE_SDL #ifdef HAVE_TTF -#include "SDL.h" +#include #include "i_ttf.h" #endif diff --git a/src/sdl12/i_system.c b/src/sdl12/i_system.c index 2c41df3ec..a5a950cfb 100644 --- a/src/sdl12/i_system.c +++ b/src/sdl12/i_system.c @@ -75,7 +75,7 @@ void __set_fpscr(long); // in libgcc / kernel's startup.s? #ifdef HAVE_SDL -#include "SDL.h" +#include #ifdef HAVE_TTF #include "i_ttf.h" diff --git a/src/sdl12/i_video.c b/src/sdl12/i_video.c index 45ce67cf5..0662e63cb 100644 --- a/src/sdl12/i_video.c +++ b/src/sdl12/i_video.c @@ -29,7 +29,7 @@ #ifdef HAVE_SDL -#include "SDL.h" +#include #ifdef _MSC_VER #pragma warning(default : 4214 4244) diff --git a/src/sdl12/sdl_sound.c b/src/sdl12/sdl_sound.c index 3f2484a9d..a0123d46f 100644 --- a/src/sdl12/sdl_sound.c +++ b/src/sdl12/sdl_sound.c @@ -25,7 +25,7 @@ #if defined(HAVE_SDL) && SOUND==SOUND_SDL -#include "SDL.h" +#include #ifdef _MSC_VER #pragma warning(default : 4214 4244)