From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFRGY-0006GX-M9 for qemu-devel@nongnu.org; Sat, 13 Jun 2009 07:19:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFRGV-0006An-2U for qemu-devel@nongnu.org; Sat, 13 Jun 2009 07:19:18 -0400 Received: from [199.232.76.173] (port=51513 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFRGU-0006Ac-S5 for qemu-devel@nongnu.org; Sat, 13 Jun 2009 07:19:14 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:58541) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFRGU-0006nS-Bd for qemu-devel@nongnu.org; Sat, 13 Jun 2009 07:19:14 -0400 From: Stefan Weil Date: Sat, 13 Jun 2009 13:19:11 +0200 Message-Id: <1244891951-16824-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] Fix SDL include path. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers 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 --- 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 f6d6e67..203684e 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 bdd78cf..40fc3a4 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) { -- 1.5.6.5