summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2018-05-29 01:27:04 +0200
committerPaolo Bonzini2018-05-31 19:12:13 +0200
commit3a739112daf4a47d8fd33a52a7d7a72e4c1c5e35 (patch)
treeeaec0a09cb045357e1287394f6e453f7583c3157 /target
parenttarget/i386: Do not include "exec/ioport.h" if it is not necessary (diff)
downloadqemu-3a739112daf4a47d8fd33a52a7d7a72e4c1c5e35.tar.gz
qemu-3a739112daf4a47d8fd33a52a7d7a72e4c1c5e35.tar.xz
qemu-3a739112daf4a47d8fd33a52a7d7a72e4c1c5e35.zip
target/xtensa: Include "qemu/timer.h" to use NANOSECONDS_PER_SECOND
Since d0ce7e9cfc the dc232b structure uses the NANOSECONDS_PER_SECOND definition from "qemu/timer.h". Include it to allow further includes cleanup. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20180528232719.4721-7-f4bug@amsat.org> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target')
-rw-r--r--target/xtensa/core-dc232b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/xtensa/core-dc232b.c b/target/xtensa/core-dc232b.c
index 7331eeea2f..70f33622ec 100644
--- a/target/xtensa/core-dc232b.c
+++ b/target/xtensa/core-dc232b.c
@@ -30,6 +30,7 @@
#include "exec/exec-all.h"
#include "exec/gdbstub.h"
#include "qemu/host-utils.h"
+#include "qemu/timer.h"
#include "core-dc232b/core-isa.h"
#include "overlay_tool.h"