diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2022-12-13 12:17:02 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-12-21 07:32:24 -0500 |
commit | 302f1fe110e003c76e549db7cf8dbc1801cd1848 (patch) | |
tree | c1033a0b1fe91f6f3206d7b421491e5690bc5899 /hw/hyperv/hyperv_testdev.c | |
parent | 617564bf92cfc809fd50026c087c617d0e721f4c (diff) | |
download | qemu-302f1fe110e003c76e549db7cf8dbc1801cd1848.zip qemu-302f1fe110e003c76e549db7cf8dbc1801cd1848.tar.gz qemu-302f1fe110e003c76e549db7cf8dbc1801cd1848.tar.bz2 |
hw/virtio: Add missing "hw/core/cpu.h" include
virtio.c uses target_words_bigendian() which is declared in
"hw/core/cpu.h". Add the missing header to avoid when refactoring:
hw/virtio/virtio.c:2451:9: error: implicit declaration of function 'target_words_bigendian' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
if (target_words_bigendian()) {
^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221213111707.34921-2-philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/hyperv/hyperv_testdev.c')
0 files changed, 0 insertions, 0 deletions