diff --git a/Quake/gl_vidsdl.c b/Quake/gl_vidsdl.c index 97582945..076a60e5 100644 --- a/Quake/gl_vidsdl.c +++ b/Quake/gl_vidsdl.c @@ -24,6 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "quakedef.h" #include "resource.h" +#include "SDL.h" #define MAX_MODE_LIST 600 //johnfitz -- was 30 #define VID_ROW_SIZE 3 diff --git a/Quake/in_sdl.c b/Quake/in_sdl.c index 22cd50e0..4a55aee3 100644 --- a/Quake/in_sdl.c +++ b/Quake/in_sdl.c @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "quakedef.h" +#include "SDL.h" static qboolean no_mouse = false; diff --git a/Quake/main_sdl.c b/Quake/main_sdl.c index 6753ad9e..37f04bf6 100644 --- a/Quake/main_sdl.c +++ b/Quake/main_sdl.c @@ -19,8 +19,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include + #include "quakedef.h" +#include "SDL.h" +#include #define DEFAULT_MEMORY 0x4000000 diff --git a/Quake/net_sdlnet.c b/Quake/net_sdlnet.c index 91b25151..31753915 100644 --- a/Quake/net_sdlnet.c +++ b/Quake/net_sdlnet.c @@ -19,8 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "quakedef.h" -#include "SDL_net.h" #include "net_sdlnet.h" +#include "SDL.h" +#include "SDL_net.h" #ifndef MAXHOSTNAMELEN #define MAXHOSTNAMELEN 255 diff --git a/Quake/pl_linux.c b/Quake/pl_linux.c index e93d3fa4..014ff9bd 100644 --- a/Quake/pl_linux.c +++ b/Quake/pl_linux.c @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "quakedef.h" +#include "SDL.h" static const Uint8 bmp_bytes[] = { diff --git a/Quake/pl_osx.m b/Quake/pl_osx.m index d0bc12fe..e934f2df 100644 --- a/Quake/pl_osx.m +++ b/Quake/pl_osx.m @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "quakedef.h" +#include "SDL.h" #import void PL_SetWindowIcon (void) @@ -37,3 +38,4 @@ void PL_ErrorDialog(const char *text) NSString *msg = [NSString stringWithCString:text encoding:NSASCIIStringEncoding]; NSRunAlertPanel(nil, msg, nil, nil, nil); } + diff --git a/Quake/pl_win.c b/Quake/pl_win.c index b801af9f..c16a0d25 100644 --- a/Quake/pl_win.c +++ b/Quake/pl_win.c @@ -22,6 +22,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "quakedef.h" #include +#include "SDL.h" #include "SDL_syswm.h" HICON icon; @@ -60,3 +61,4 @@ void PL_ErrorDialog(const char *text) { MessageBox(NULL, text, "Quake Error", MB_OK | MB_SETFOREGROUND | MB_ICONSTOP); } + diff --git a/Quake/sys_sdl.c b/Quake/sys_sdl.c index ad38afc0..1e821ab6 100644 --- a/Quake/sys_sdl.c +++ b/Quake/sys_sdl.c @@ -36,6 +36,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #endif +#include "SDL.h" + #define CONSOLE_ERROR_TIMEOUT 60.0 /* # of seconds to wait on Sys_Error running */ qboolean isDedicated; static qboolean sc_return_on_enter = false;