From 79ca0b299af4dc9f68a6aaa8d719fc2f28bab548 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Mon, 19 Feb 2018 01:06:03 -0500 Subject: [PATCH] m68k: Clean up includes Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Backports commit d8416665774bb6c057cbb3dd67d802e67e7a03ef from qemu --- qemu/target-m68k/cpu.c | 1 + qemu/target-m68k/helper.c | 1 + qemu/target-m68k/op_helper.c | 1 + qemu/target-m68k/translate.c | 1 + 4 files changed, 4 insertions(+) diff --git a/qemu/target-m68k/cpu.c b/qemu/target-m68k/cpu.c index 9d25b270..0134749a 100644 --- a/qemu/target-m68k/cpu.c +++ b/qemu/target-m68k/cpu.c @@ -18,6 +18,7 @@ * */ +#include "qemu/osdep.h" #include "hw/m68k/m68k.h" #include "cpu.h" #include "qemu-common.h" diff --git a/qemu/target-m68k/helper.c b/qemu/target-m68k/helper.c index 26c7c22d..76cc71ca 100644 --- a/qemu/target-m68k/helper.c +++ b/qemu/target-m68k/helper.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" diff --git a/qemu/target-m68k/op_helper.c b/qemu/target-m68k/op_helper.c index ecee64f0..e55c6abc 100644 --- a/qemu/target-m68k/op_helper.c +++ b/qemu/target-m68k/op_helper.c @@ -16,6 +16,7 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" diff --git a/qemu/target-m68k/translate.c b/qemu/target-m68k/translate.c index cabbce57..89ae525a 100644 --- a/qemu/target-m68k/translate.c +++ b/qemu/target-m68k/translate.c @@ -18,6 +18,7 @@ * License along with this library; if not, see . */ +#include "qemu/osdep.h" #include "cpu.h" #include "tcg-op.h" #include "qemu/log.h"