diff mbox series

[PULL,07/53] target/xtensa: Include "qemu/timer.h" to use NANOSECONDS_PER_SECOND

Message ID 20180531171253.21012-8-pbonzini@redhat.com
State New
Headers show
Series [PULL,01/53] sandbox: disable -sandbox if CONFIG_SECCOMP undefined | expand

Commit Message

Paolo Bonzini May 31, 2018, 5:12 p.m. UTC
From: Philippe Mathieu-Daudé <f4bug@amsat.org>

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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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"