diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-02-01 20:56:52 +0100 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2012-02-28 22:33:42 +0100 |
commit | 45133b74bacc67d2cc7c6b19315528325cc23c26 (patch) | |
tree | a3f901eeb164895d2a3b62c319f431245233b9ab | |
parent | 550a82ec32c1afe6518bfbe8c811d34d85518cdc (diff) |
target-s390x: 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>
-rw-r--r-- | target-s390x/cpu.h | 3 | ||||
-rw-r--r-- | target-s390x/helper.c | 5 | ||||
-rw-r--r-- | target-s390x/translate.c | 5 |
3 files changed, 3 insertions, 10 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index b8893b3027..e892beca3b 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -19,6 +19,9 @@ #ifndef CPU_S390X_H #define CPU_S390X_H +#include "config.h" +#include "qemu-common.h" + #define TARGET_LONG_BITS 64 #define ELF_MACHINE EM_S390 diff --git a/target-s390x/helper.c b/target-s390x/helper.c index 10cc9dd5fa..c0ec8908a6 100644 --- a/target-s390x/helper.c +++ b/target-s390x/helper.c @@ -18,13 +18,8 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - #include "cpu.h" #include "gdbstub.h" -#include "qemu-common.h" #include "qemu-timer.h" #ifndef CONFIG_USER_ONLY #include "sysemu.h" diff --git a/target-s390x/translate.c b/target-s390x/translate.c index ee15672185..71f9dcdff5 100644 --- a/target-s390x/translate.c +++ b/target-s390x/translate.c @@ -17,11 +17,6 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ -#include <stdarg.h> -#include <stdlib.h> -#include <stdio.h> -#include <string.h> -#include <inttypes.h> /* #define DEBUG_ILLEGAL_INSTRUCTIONS */ /* #define DEBUG_INLINE_BRANCHES */ |