From ef59917f01641c2def3e5219fdb1cfc47aed7ee7 Mon Sep 17 00:00:00 2001 From: ambu50 <6363693+ambu50@users.noreply.github.com> Date: Tue, 1 Dec 2026 06:29:22 +0300 Subject: [PATCH] tests: add __u32/__u64/__s32 to the host-fixture types stub The stub is found via -Itests/dma-mock and shadows the UAPI , 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. --- tests/dma-mock/linux/types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/dma-mock/linux/types.h b/tests/dma-mock/linux/types.h index 1ded22b7..c13f073b 100644 --- a/tests/dma-mock/linux/types.h +++ b/tests/dma-mock/linux/types.h @@ -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