The "exec/target_long.h" header is indirectly included, pulled
via "cpu.h" -> "exec/cpu-defs.h". Include it explicitly otherwise
we'd get when removing the latter:
../target-info-stub.c:39:23: error: use of undeclared identifier
'TARGET_PAGE_BITS'
39 | .page_bits_init = TARGET_PAGE_BITS,
| ^
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Message-Id: <[email protected]>
---
target-info-stub.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/target-info-stub.c b/target-info-stub.c
index f5896a72621..07d8647ed8e 100644
--- a/target-info-stub.c
+++ b/target-info-stub.c
@@ -11,6 +11,7 @@
#include "qemu/target-info-impl.h"
#include "hw/core/boards.h"
#include "cpu.h"
+#include "exec/cpu-defs.h"
#include "exec/page-vary.h"
/* Validate correct placement of CPUArchState. */
--
2.53.0