The COMPILING_PER_TARGET block uses the abi_ptr type without including the proper header.
Signed-off-by: Richard Henderson <[email protected]> --- include/user/guest-host.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/user/guest-host.h b/include/user/guest-host.h index 506efc097e..f136f81f5d 100644 --- a/include/user/guest-host.h +++ b/include/user/guest-host.h @@ -80,6 +80,7 @@ static inline bool guest_range_valid_untagged_vaddr(vaddr start, vaddr len) }) #ifdef COMPILING_PER_TARGET +#include "exec/abi_ptr.h" /* * These functions take the guest virtual address as an abi_ptr. This -- 2.43.0
