mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 06:28:39 +00:00
tests: add __u32/__u64/__s32 to the host-fixture types stub
The stub is found via -Itests/dma-mock and shadows the UAPI <linux/types.h>, so glibc's bits/sched.h pulls linux/sched/types.h without __u32 and test_device_software fails to compile on Ubuntu 26.04 (glibc 2.43, kernel 7.0 headers). Additive typedefs only.
This commit is contained in:
@ -5,4 +5,7 @@
|
||||
typedef uint64_t u64;
|
||||
typedef int64_t s64;
|
||||
typedef uint32_t u32;
|
||||
typedef uint32_t __u32;
|
||||
typedef uint64_t __u64;
|
||||
typedef int32_t __s32;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user