Mercurial > hg > dmlib
diff dmlib.h @ 288:e2f286781180
Use more glanular header includes from SDL, enables us to succesfully link
binaries without the SDL dependancy (where it is not actually needed) under
Windows.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 11 Oct 2012 11:10:30 +0300 |
parents | 51ba74f7668c |
children | dd9809a93425 |
line wrap: on
line diff
--- a/dmlib.h Thu Oct 11 11:09:26 2012 +0300 +++ b/dmlib.h Thu Oct 11 11:10:30 2012 +0300 @@ -7,7 +7,11 @@ #ifndef DMLIB_H #define DMLIB_H -#include <SDL.h> +#include <SDL_config.h> +#include <SDL_endian.h> +#include <SDL_types.h> +#include <SDL_mutex.h> +#include <SDL_video.h> #include <stdarg.h> #ifdef DM_USE_ASSERTS