Commit 701e8d1ee9 for qemu.org
commit 701e8d1ee92033632868d80283a5a383641c3375
Author: Richard Henderson <richard.henderson@linaro.org>
Date: Fri Jul 17 16:22:48 2026 -0700
user/guest-host: Include exec/abi_ptr.h
The COMPILING_PER_TARGET block uses the abi_ptr type
without including the proper header.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Message-ID: <20260717232306.378988-2-richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
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