summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2012-02-01 20:51:52 +0100
committerStefan Weil <sw@weilnetz.de>2012-02-28 22:33:41 +0100
commit2c9762973cbee50de591cf63c05d0e79218be60c (patch)
treee9f41c48eed01107dfa65feb1f9f770bc550fbb2
parent9c6ecf3e76311ac04cf1779f0c9beef831c152b5 (diff)
downloadqemu-2c9762973cbee50de591cf63c05d0e79218be60c.tar.gz
qemu-2c9762973cbee50de591cf63c05d0e79218be60c.tar.bz2
qemu-2c9762973cbee50de591cf63c05d0e79218be60c.zip
target-alpha: Clean includes
The change in cpu.h is needed when HOST_LONG_BITS is defined in qemu-common.h. Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Stefan Weil <sw@weilnetz.de>
-rw-r--r--target-alpha/cpu.h1
-rw-r--r--target-alpha/translate.c5
2 files changed, 1 insertions, 5 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index 9d61d45ab6..5cd6fd834f 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/cpu.h
@@ -21,6 +21,7 @@
#define __CPU_ALPHA_H__
#include "config.h"
+#include "qemu-common.h"
#define TARGET_LONG_BITS 64
diff --git a/target-alpha/translate.c b/target-alpha/translate.c
index a961159d5d..1d2142bfde 100644
--- a/target-alpha/translate.c
+++ b/target-alpha/translate.c
@@ -17,15 +17,10 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
-#include <stdint.h>
-#include <stdlib.h>
-#include <stdio.h>
-
#include "cpu.h"
#include "disas.h"
#include "host-utils.h"
#include "tcg-op.h"
-#include "qemu-common.h"
#include "helper.h"
#define GEN_HELPER 1