Commit 6693665ace00864640c1c9f5020ea125e0b997c2
Committed by
Anthony Liguori
1 parent
1172f653
Fix SDL include path.
SDL header files can be included in two different ways: * like this: #include <SDL/SDL.h> * like this: #include <SDL.h> 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 <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing
2 changed files
with
2 additions
and
2 deletions
hw/baum.c
@@ -30,7 +30,7 @@ | @@ -30,7 +30,7 @@ | ||
30 | #include <brlapi_constants.h> | 30 | #include <brlapi_constants.h> |
31 | #include <brlapi_keycodes.h> | 31 | #include <brlapi_keycodes.h> |
32 | #ifdef CONFIG_SDL | 32 | #ifdef CONFIG_SDL |
33 | -#include <SDL/SDL_syswm.h> | 33 | +#include <SDL_syswm.h> |
34 | #endif | 34 | #endif |
35 | 35 | ||
36 | #if 0 | 36 | #if 0 |
vl.c
@@ -114,7 +114,7 @@ | @@ -114,7 +114,7 @@ | ||
114 | 114 | ||
115 | #ifdef CONFIG_SDL | 115 | #ifdef CONFIG_SDL |
116 | #ifdef __APPLE__ | 116 | #ifdef __APPLE__ |
117 | -#include <SDL/SDL.h> | 117 | +#include <SDL.h> |
118 | int qemu_main(int argc, char **argv, char **envp); | 118 | int qemu_main(int argc, char **argv, char **envp); |
119 | int main(int argc, char **argv) | 119 | int main(int argc, char **argv) |
120 | { | 120 | { |