summary refs log tree commit diff stats
path: root/python/qemu
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2022-12-13 12:17:02 +0100
committerMichael S. Tsirkin <mst@redhat.com>2022-12-21 07:32:24 -0500
commit302f1fe110e003c76e549db7cf8dbc1801cd1848 (patch)
treec1033a0b1fe91f6f3206d7b421491e5690bc5899 /python/qemu
parent617564bf92cfc809fd50026c087c617d0e721f4c (diff)
downloadfocaccia-qemu-302f1fe110e003c76e549db7cf8dbc1801cd1848.tar.gz
focaccia-qemu-302f1fe110e003c76e549db7cf8dbc1801cd1848.zip
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 'python/qemu')
0 files changed, 0 insertions, 0 deletions