]> git.proxmox.com Git - qemu.git/commitdiff
Fix arm-linux-user
authorPaul Brook <paul@codesourcery.com>
Mon, 5 Apr 2010 18:56:34 +0000 (19:56 +0100)
committerPaul Brook <paul@codesourcery.com>
Mon, 5 Apr 2010 18:56:34 +0000 (19:56 +0100)
Only include hw/loader.h from target-arm/helper.c when building for
system emulation.

Signed-off-by: Paul Brook <paul@codesourcery.com>
target-arm/helper.c

index 7e6a8186d59c2624f75d58f2aa9b239a635af6a2..99e0394e93c380263cb2e98ba32ca99094932c98 100644 (file)
@@ -8,7 +8,9 @@
 #include "helpers.h"
 #include "qemu-common.h"
 #include "host-utils.h"
+#if !defined(CONFIG_USER_ONLY)
 #include "hw/loader.h"
+#endif
 
 static uint32_t cortexa9_cp15_c0_c1[8] =
 { 0x1031, 0x11, 0x000, 0, 0x00100103, 0x20000000, 0x01230000, 0x00002111 };