summaryrefslogtreecommitdiff
path: root/linux-user/qemu.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-15 23:28:43 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-06-15 23:28:43 +0000
commit2054396a044c86521d08e666e5b0c1d20446cf3b (patch)
treef00a55ba1b43bcaf1850e2251df9e9d6a64ac911 /linux-user/qemu.h
parent039de852ec1640ff65db641d27caaf2a88d0a10c (diff)
downloadqemu-2054396a044c86521d08e666e5b0c1d20446cf3b.zip
fixed include macro pb
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@249 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/qemu.h')
-rw-r--r--linux-user/qemu.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index d0a96e6e1f..a68e8f4b42 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -6,8 +6,15 @@
#include <signal.h>
#include "syscall_defs.h"
-#include "cpu-" TARGET_ARCH ".h"
-#include "syscall-" TARGET_ARCH ".h"
+#if defined(TARGET_I386)
+#include "cpu-i386.h"
+#include "syscall-i386.h"
+#elif defined(TARGET_ARM)
+#include "cpu-arm.h"
+#include "syscall-arm.h"
+#else
+#error unsupported target CPU
+#endif
/* This struct is used to hold certain information about the image.
* Basically, it replicates in user space what would be certain