From: Philippe Mathieu-Daudé Date: Mon, 29 Jan 2024 17:05:29 +0000 (+0100) Subject: hw/intc/xics: Include missing 'cpu.h' header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0a77a76f55e8a9d84082ebe7eaab443db68c7783;p=qemu.git hw/intc/xics: Include missing 'cpu.h' header Include missing headers in order to avoid when refactoring unrelated headers: hw/intc/xics.c: In function 'icp_realize': hw/intc/xics.c:304:5: error: unknown type name 'PowerPCCPU' 304 | PowerPCCPU *cpu; | ^~~~~~~~~~ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Signed-off-by: Michael Tokarev --- diff --git a/hw/intc/xics.c b/hw/intc/xics.c index 8b25787227..700abfa7a6 100644 --- a/hw/intc/xics.c +++ b/hw/intc/xics.c @@ -40,6 +40,7 @@ #include "hw/irq.h" #include "sysemu/kvm.h" #include "sysemu/reset.h" +#include "target/ppc/cpu.h" void icp_pic_print_info(ICPState *icp, Monitor *mon) {