On 12.03.2025 18:45, Andrew Cooper wrote:
> elfstructs.h needs the stdint.h types.

But then why do you include xen/types.h rather than just xen/stdint.h there?
Instead I guess ...

> --- a/xen/include/xen/elfstructs.h
> +++ b/xen/include/xen/elfstructs.h
> @@ -26,6 +26,11 @@
>   * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>   */
>  
> +/* Outside of Xen, the includer must provide stdint.h or equivalent. */
> +#ifdef __XEN__
> +#include <xen/types.h>
> +#endif

#else
#include <stdint.h>

would make sense to add at the same time then.

Jan

Reply via email to