Index: trunk/code/sdl/sdl_input.c =================================================================== --- trunk/code/sdl/sdl_input.c (revision 1227) +++ trunk/code/sdl/sdl_input.c (working copy) @@ -21,7 +21,7 @@ */ #ifdef USE_LOCAL_HEADERS -# include "SDL.h" +# include "../SDL12/include/SDL.h" #else # include #endif Index: trunk/code/sdl/sdl_gamma.c =================================================================== --- trunk/code/sdl/sdl_gamma.c (revision 1227) +++ trunk/code/sdl/sdl_gamma.c (working copy) @@ -21,7 +21,7 @@ */ #ifdef USE_LOCAL_HEADERS -# include "SDL.h" +# include "../SDL12/include/SDL.h" #else # include #endif Index: trunk/code/sdl/sdl_snd.c =================================================================== --- trunk/code/sdl/sdl_snd.c (revision 1227) +++ trunk/code/sdl/sdl_snd.c (working copy) @@ -24,7 +24,7 @@ #include #ifdef USE_LOCAL_HEADERS -# include "SDL.h" +# include "../SDL12/include/SDL.h" #else # include #endif Index: trunk/code/sdl/sdl_glimp.c =================================================================== --- trunk/code/sdl/sdl_glimp.c (revision 1227) +++ trunk/code/sdl/sdl_glimp.c (working copy) @@ -21,7 +21,7 @@ */ #ifdef USE_LOCAL_HEADERS -# include "SDL.h" +# include "../SDL12/include/SDL.h" #else # include #endif @@ -35,7 +35,7 @@ #ifdef SMP # ifdef USE_LOCAL_HEADERS -# include "SDL_thread.h" +# include "../SDL12/include/SDL_thread.h" # else # include # endif Index: trunk/code/renderer/qgl.h =================================================================== --- trunk/code/renderer/qgl.h (revision 1227) +++ trunk/code/renderer/qgl.h (working copy) @@ -27,7 +27,7 @@ #define __QGL_H__ #ifdef USE_LOCAL_HEADERS -# include "SDL_opengl.h" +# include "../SDL12/include/SDL_opengl.h" #else # include #endif Index: trunk/code/sys/sys_main.c =================================================================== --- trunk/code/sys/sys_main.c (revision 1227) +++ trunk/code/sys/sys_main.c (working copy) @@ -33,8 +33,8 @@ #ifndef DEDICATED #ifdef USE_LOCAL_HEADERS -# include "SDL.h" -# include "SDL_cpuinfo.h" +# include "../SDL12/include/SDL.h" +# include "../SDL12/include/SDL_cpuinfo.h" #else # include # include Index: trunk/code/sys/sys_loadlib.h =================================================================== --- trunk/code/sys/sys_loadlib.h (revision 1227) +++ trunk/code/sys/sys_loadlib.h (working copy) @@ -33,10 +33,15 @@ # define Sys_UnloadLibrary(h) dlclose(h) # define Sys_LoadFunction(h,fn) dlsym(h,fn) # define Sys_LibraryError() dlerror() -#endif +# endif #else -# include "SDL.h" -# include "SDL_loadso.h" +# ifdef USE_LOCAL_HEADERS +# include "../SDL12/include/SDL.h" +# include "../SDL12/include/SDL_loadso.h" +# else +# include +# include +# endif # define Sys_LoadLibrary(f) SDL_LoadObject(f) # define Sys_UnloadLibrary(h) SDL_UnloadObject(h) # define Sys_LoadFunction(h,fn) SDL_LoadFunction(h,fn)