linux-user: Fix build failure caused by missing __u64 on musl
Commit9651cead2f
("linux-user: add openat2 support in linux-user") ships a definition of struct open_how_ver0 while assuming type __u64 is available in code, which is not the case when building QEMU on musl. Let's replaces __u64 with uint64_t. Fixes:9651cead2f
("linux-user: add openat2 support in linux-user") Signed-off-by: Yao Zi <ziyao@disroot.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-ID: <20241022122929.17465-2-ziyao@disroot.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
f769eb00b5
commit
c12df59de9
@ -2750,9 +2750,9 @@ struct target_sched_param {
|
|||||||
|
|
||||||
/* from kernel's include/uapi/linux/openat2.h */
|
/* from kernel's include/uapi/linux/openat2.h */
|
||||||
struct open_how_ver0 {
|
struct open_how_ver0 {
|
||||||
__u64 flags;
|
uint64_t flags;
|
||||||
__u64 mode;
|
uint64_t mode;
|
||||||
__u64 resolve;
|
uint64_t resolve;
|
||||||
};
|
};
|
||||||
struct target_open_how_ver0 {
|
struct target_open_how_ver0 {
|
||||||
abi_ullong flags;
|
abi_ullong flags;
|
||||||
|
Loading…
Reference in New Issue
Block a user