diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-02-07 09:27:54 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-02-21 10:18:06 +0100 |
commit | b8012ecff1056c7a995fa7d91176ce19fa6c6cc5 (patch) | |
tree | 3bd451f2d2d1a28970e9049831370332c5e78883 /target/sparc | |
parent | 1e84f14d6f40ee297a95b7fe9ac5b718dd6129a1 (diff) | |
download | qemu-b8012ecff1056c7a995fa7d91176ce19fa6c6cc5.zip qemu-b8012ecff1056c7a995fa7d91176ce19fa6c6cc5.tar.gz qemu-b8012ecff1056c7a995fa7d91176ce19fa6c6cc5.tar.bz2 |
target: Add missing "qemu/timer.h" include
timer_new_ns(), cpu_get_host_ticks() and NANOSECONDS_PER_SECOND are
declared in "qemu/timer.h".
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220207082756.82600-8-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'target/sparc')
-rw-r--r-- | target/sparc/helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/sparc/helper.c b/target/sparc/helper.c index c7bcaa3..c4358bb 100644 --- a/target/sparc/helper.c +++ b/target/sparc/helper.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "cpu.h" #include "exec/exec-all.h" +#include "qemu/timer.h" #include "qemu/host-utils.h" #include "exec/helper-proto.h" |