summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGerd Hoffmann2014-11-19 14:19:49 +0100
committerGerd Hoffmann2015-05-05 10:48:26 +0200
commit19dadfccd0124804e2790e7cb075c9df7cd3154f (patch)
tree78c02a2792e71b64677f1473b3316872d9fd8c21 /ui
parentconsole-gl: add opengl rendering helper functions (diff)
downloadqemu-19dadfccd0124804e2790e7cb075c9df7cd3154f.tar.gz
qemu-19dadfccd0124804e2790e7cb075c9df7cd3154f.tar.xz
qemu-19dadfccd0124804e2790e7cb075c9df7cd3154f.zip
sdl2: move SDL_* includes to sdl2.h
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/sdl2-2d.c6
-rw-r--r--ui/sdl2-input.c6
-rw-r--r--ui/sdl2.c6
3 files changed, 0 insertions, 18 deletions
diff --git a/ui/sdl2-2d.c b/ui/sdl2-2d.c
index f907c21895..46ef5f7d3e 100644
--- a/ui/sdl2-2d.c
+++ b/ui/sdl2-2d.c
@@ -23,12 +23,6 @@
*/
/* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
-/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */
-#undef WIN32_LEAN_AND_MEAN
-
-#include <SDL.h>
-#include <SDL_syswm.h>
-
#include "qemu-common.h"
#include "ui/console.h"
#include "ui/input.h"
diff --git a/ui/sdl2-input.c b/ui/sdl2-input.c
index a1973fc2e0..ac5dc9476b 100644
--- a/ui/sdl2-input.c
+++ b/ui/sdl2-input.c
@@ -23,12 +23,6 @@
*/
/* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
-/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */
-#undef WIN32_LEAN_AND_MEAN
-
-#include <SDL.h>
-#include <SDL_syswm.h>
-
#include "qemu-common.h"
#include "ui/console.h"
#include "ui/input.h"
diff --git a/ui/sdl2.c b/ui/sdl2.c
index 60e3c3b6fa..610ddb00a4 100644
--- a/ui/sdl2.c
+++ b/ui/sdl2.c
@@ -23,12 +23,6 @@
*/
/* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
-/* Avoid compiler warning because macro is redefined in SDL_syswm.h. */
-#undef WIN32_LEAN_AND_MEAN
-
-#include <SDL.h>
-#include <SDL_syswm.h>
-
#include "qemu-common.h"
#include "ui/console.h"
#include "ui/input.h"