aboutsummaryrefslogtreecommitdiff
path: root/target-unicore32
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-02-02 21:47:01 +0100
committerStefan Weil <sw@weilnetz.de>2012-02-28 22:33:43 +0100
commit8141905a4458400b094d60d835a98b26ab48a4af (patch)
treea178290e5ca74c5955491ae10df2d5747b55ac23 /target-unicore32
parent2d0b9ac6d629bf9d32f101a319cebd9767bb3350 (diff)
target-unicore32: Clean includes
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'target-unicore32')
-rw-r--r--target-unicore32/cpu.h2
-rw-r--r--target-unicore32/helper.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/target-unicore32/cpu.h b/target-unicore32/cpu.h
index b4e72cfa6e..f725634801 100644
--- a/target-unicore32/cpu.h
+++ b/target-unicore32/cpu.h
@@ -20,6 +20,8 @@
#define CPUState struct CPUState_UniCore32
+#include "config.h"
+#include "qemu-common.h"
#include "cpu-defs.h"
#include "softfloat.h"
diff --git a/target-unicore32/helper.c b/target-unicore32/helper.c
index b5b1cb7c9b..ee7f82bdcd 100644
--- a/target-unicore32/helper.c
+++ b/target-unicore32/helper.c
@@ -5,14 +5,10 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include "cpu.h"
#include "gdbstub.h"
#include "helper.h"
-#include "qemu-common.h"
#include "host-utils.h"
static inline void set_feature(CPUState *env, int feature)