diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-12 21:14:07 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-01-31 19:36:43 +0100 |
commit | ce6768965b5713c353097d362f712e2bca1ef354 (patch) | |
tree | 4ef1af047e865c5f0c48ff8e360ed1035b6a2a32 /scripts/qapi/commands.py | |
parent | 72a4da938680edeef2be454a67c0f7db22176a2d (diff) | |
download | qemu-ce6768965b5713c353097d362f712e2bca1ef354.zip qemu-ce6768965b5713c353097d362f712e2bca1ef354.tar.gz qemu-ce6768965b5713c353097d362f712e2bca1ef354.tar.bz2 |
hw/mips/loongson3_bootp: Include missing headers
MemMapEntry is declared in "exec/hwaddr.h", cpu_to_le32() in
"qemu/bswap.h". These headers are indirectly included via "cpu.h".
Include them explicitly in order to avoid when removing "cpu.h":
In file included from ../../hw/mips/loongson3_bootp.c:27:
hw/mips/loongson3_bootp.h:234:14: error: unknown type name 'MemMapEntry'
234 | extern const MemMapEntry virt_memmap[];
| ^
hw/mips/loongson3_bootp.c:33:18: error: call to undeclared function 'cpu_to_le32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
33 | c->cputype = cpu_to_le32(Loongson_3A);
| ^
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250115232952.31166-6-philmd@linaro.org>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions