From 6693665ace00864640c1c9f5020ea125e0b997c2 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 13 Jun 2009 13:19:11 +0200 Subject: [PATCH] Fix SDL include path. SDL header files can be included in two different ways: * like this: #include * like this: #include The 1st alternative is simple and works in many cases. The 2nd alternative needs sdl-config to get the correct compiler flags. It is the recommended way to write SDL includes and standard for QEMU. The patch fixes two non-standard SDL includes. Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori --- hw/baum.c | 2 +- vl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/baum.c b/hw/baum.c index c9135b524f..b47ea34c4d 100644 --- a/hw/baum.c +++ b/hw/baum.c @@ -30,7 +30,7 @@ #include #include #ifdef CONFIG_SDL -#include +#include #endif #if 0 diff --git a/vl.c b/vl.c index bdd78cf8ea..40fc3a432c 100644 --- a/vl.c +++ b/vl.c @@ -114,7 +114,7 @@ #ifdef CONFIG_SDL #ifdef __APPLE__ -#include +#include int qemu_main(int argc, char **argv, char **envp); int main(int argc, char **argv) { -- 2.11.4.GIT