From 4f78c9ad5a6076a37a944ededfbec508861103f7 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 5 Apr 2010 19:56:34 +0100 Subject: [PATCH] Fix arm-linux-user Only include hw/loader.h from target-arm/helper.c when building for system emulation. Signed-off-by: Paul Brook --- target-arm/helper.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-arm/helper.c b/target-arm/helper.c index 7e6a8186d5..99e0394e93 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -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 };