diff options
Diffstat (limited to 'code/sdl')
-rw-r--r-- | code/sdl/sdl_gamma.c | 7 | ||||
-rw-r--r-- | code/sdl/sdl_glimp.c | 12 | ||||
-rw-r--r-- | code/sdl/sdl_input.c | 6 | ||||
-rw-r--r-- | code/sdl/sdl_snd.c | 6 |
4 files changed, 26 insertions, 5 deletions
diff --git a/code/sdl/sdl_gamma.c b/code/sdl/sdl_gamma.c index 2673700..71a42c8 100644 --- a/code/sdl/sdl_gamma.c +++ b/code/sdl/sdl_gamma.c @@ -20,7 +20,12 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#include "SDL.h" +#ifdef USE_LOCAL_HEADERS +# include "SDL.h" +#else +# include <SDL.h> +#endif + #include "../renderer/tr_local.h" #include "../qcommon/qcommon.h" diff --git a/code/sdl/sdl_glimp.c b/code/sdl/sdl_glimp.c index 5befe19..c5954ac 100644 --- a/code/sdl/sdl_glimp.c +++ b/code/sdl/sdl_glimp.c @@ -20,7 +20,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#include "SDL.h" +#ifdef USE_LOCAL_HEADERS +# include "SDL.h" +#else +# include <SDL.h> +#endif #if !SDL_VERSION_ATLEAST(1, 2, 10) #define SDL_GL_ACCELERATED_VISUAL 15 @@ -30,7 +34,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #endif #ifdef SMP -#include "SDL_thread.h" +# ifdef USE_LOCAL_HEADERS +# include "SDL_thread.h" +# else +# include <SDL_thread.h> +# endif #endif #include <stdarg.h> diff --git a/code/sdl/sdl_input.c b/code/sdl/sdl_input.c index 2e610a8..0663c7f 100644 --- a/code/sdl/sdl_input.c +++ b/code/sdl/sdl_input.c @@ -20,7 +20,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA =========================================================================== */ -#include "SDL.h" +#ifdef USE_LOCAL_HEADERS +# include "SDL.h" +#else +# include <SDL.h> +#endif #include <stdarg.h> #include <stdio.h> diff --git a/code/sdl/sdl_snd.c b/code/sdl/sdl_snd.c index dfc2316..a131db7 100644 --- a/code/sdl/sdl_snd.c +++ b/code/sdl/sdl_snd.c @@ -23,7 +23,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include <stdlib.h> #include <stdio.h> -#include "SDL.h" +#ifdef USE_LOCAL_HEADERS +# include "SDL.h" +#else +# include <SDL.h> +#endif #include "../qcommon/q_shared.h" #include "../client/snd_local.h" |