]> git.proxmox.com Git - qemu.git/commitdiff
target-unicore32: Clean includes
authorStefan Weil <sw@weilnetz.de>
Thu, 2 Feb 2012 20:47:01 +0000 (21:47 +0100)
committerStefan Weil <sw@weilnetz.de>
Tue, 28 Feb 2012 21:33:43 +0000 (22:33 +0100)
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>
target-unicore32/cpu.h
target-unicore32/helper.c

index b4e72cfa6e390db820195623cfb80df551a4491a..f725634801a4657f54e38fed1a86ce4667dc07e9 100644 (file)
@@ -20,6 +20,8 @@
 
 #define CPUState                struct CPUState_UniCore32
 
+#include "config.h"
+#include "qemu-common.h"
 #include "cpu-defs.h"
 #include "softfloat.h"
 
index b5b1cb7c9bb11e29af2c5f66c62d9f88f6463fee..ee7f82bdcdb4180d0e4cfcdfd6802c86296439ee 100644 (file)
@@ -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)