OSDN Git Service

target/xtensa: Include "qemu/timer.h" to use NANOSECONDS_PER_SECOND
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 28 May 2018 23:27:04 +0000 (20:27 -0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 31 May 2018 17:12:13 +0000 (19:12 +0200)
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>
target/xtensa/core-dc232b.c

index 7331eee..70f3362 100644 (file)
@@ -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"