diff --git a/include/hw/ppc/spapr_ovec.h b/include/hw/ppc/spapr_ovec.h index c3e8b98e7e..8d67f492d0 100644 --- a/include/hw/ppc/spapr_ovec.h +++ b/include/hw/ppc/spapr_ovec.h @@ -37,7 +37,7 @@ #ifndef SPAPR_OVEC_H #define SPAPR_OVEC_H -#include "cpu.h" +#include "exec/target_long.h" typedef struct SpaprOptionVector SpaprOptionVector; diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h index d637a50798..a0df7a467e 100644 --- a/target/ppc/cpu.h +++ b/target/ppc/cpu.h @@ -25,6 +25,7 @@ #include "exec/cpu-common.h" #include "exec/cpu-defs.h" #include "exec/cpu-interrupt.h" +#include "exec/target_long.h" #include "cpu-qom.h" #include "qom/object.h" #include "hw/core/registerfields.h"