Re: [PATCH 05/11] hw/mips/loongson3_bootp: Include missing headers

2025-01-14 Thread Richard Henderson
On 1/12/25 13:58, Philippe Mathieu-Daudé wrote: 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.

[PATCH 05/11] hw/mips/loongson3_bootp: Include missing headers

2025-01-12 Thread Philippe Mathieu-Daudé
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: un