From d18f1dde4109a5da3425ae9eb837f721bc771653 Mon Sep 17 00:00:00 2001 From: Brandon Black Date: Fri, 17 Oct 2025 07:42:05 -0500 Subject: [PATCH] os.linux.timeval: use same field names as std.c Otherwise, the field names in std.posix.timeval vary by target os. I think this was an accidental change during the work of #25610 --- lib/std/os/linux.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index 5eed2a4dd3..707a1b840a 100644 --- a/lib/std/os/linux.zig +++ b/lib/std/os/linux.zig @@ -8429,8 +8429,8 @@ pub const POSIX_FADV = switch (native_arch) { }; pub const timeval = extern struct { - tv_sec: isize, - tv_usec: i64, + sec: isize, + usec: i64, }; pub const timezone = extern struct {