From: Stefan Weil Date: Sat, 13 Jun 2009 11:19:11 +0000 (+0200) Subject: Fix SDL include path. X-Git-Tag: v0.11.0-rc0~412 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6693665ace00864640c1c9f5020ea125e0b997c2;p=qemu-xen-4.3-testing.git 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 --- diff --git a/hw/baum.c b/hw/baum.c index c9135b524..b47ea34c4 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 bdd78cf8e..40fc3a432 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) {