From 19dadfccd0124804e2790e7cb075c9df7cd3154f Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 19 Nov 2014 14:19:49 +0100 Subject: sdl2: move SDL_* includes to sdl2.h Signed-off-by: Gerd Hoffmann Reviewed-by: Max Reitz --- include/ui/sdl2.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/ui') diff --git a/include/ui/sdl2.h b/include/ui/sdl2.h index 51fff2e..e21783a 100644 --- a/include/ui/sdl2.h +++ b/include/ui/sdl2.h @@ -1,6 +1,12 @@ #ifndef SDL2_H #define SDL2_H +/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */ +#undef WIN32_LEAN_AND_MEAN + +#include +#include + struct sdl2_console { DisplayChangeListener dcl; DisplaySurface *surface; -- cgit v1.1