diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2022-02-07 09:27:55 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-02-21 10:18:06 +0100 |
commit | cdf06ce5629ac19d13064989012c88dd581bf6f6 (patch) | |
tree | 1ca52773012e4e19a27cce97c7453bf425ad8037 /linux-user | |
parent | b8012ecff1056c7a995fa7d91176ce19fa6c6cc5 (diff) | |
download | qemu-cdf06ce5629ac19d13064989012c88dd581bf6f6.zip qemu-cdf06ce5629ac19d13064989012c88dd581bf6f6.tar.gz qemu-cdf06ce5629ac19d13064989012c88dd581bf6f6.tar.bz2 |
linux-user: Add missing "qemu/timer.h" include
"qemu/timer.h" declares cpu_get_host_ticks().
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220207082756.82600-9-f4bug@amsat.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/i386/cpu_loop.c | 1 | ||||
-rw-r--r-- | linux-user/ppc/cpu_loop.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/i386/cpu_loop.c b/linux-user/i386/cpu_loop.c index 29dfd7c..90bffc1 100644 --- a/linux-user/i386/cpu_loop.c +++ b/linux-user/i386/cpu_loop.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu-common.h" #include "qemu.h" +#include "qemu/timer.h" #include "user-internals.h" #include "cpu_loop-common.h" #include "signal-common.h" diff --git a/linux-user/ppc/cpu_loop.c b/linux-user/ppc/cpu_loop.c index 38097b0..c5d8099 100644 --- a/linux-user/ppc/cpu_loop.c +++ b/linux-user/ppc/cpu_loop.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "qemu-common.h" #include "qemu.h" +#include "qemu/timer.h" #include "user-internals.h" #include "cpu_loop-common.h" #include "signal-common.h" |