From b8012ecff1056c7a995fa7d91176ce19fa6c6cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Mon, 7 Feb 2022 09:27:54 +0100 Subject: target: Add missing "qemu/timer.h" include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit timer_new_ns(), cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are declared in "qemu/timer.h". Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Reviewed-by: Richard Henderson Reviewed-by: Alistair Francis Message-Id: <20220207082756.82600-8-f4bug@amsat.org> Signed-off-by: Thomas Huth --- target/riscv/csr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'target/riscv') diff --git a/target/riscv/csr.c b/target/riscv/csr.c index fe2c8dd..a938760 100644 --- a/target/riscv/csr.c +++ b/target/riscv/csr.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/timer.h" #include "cpu.h" #include "qemu/main-loop.h" #include "exec/exec-all.h" -- cgit v1.1