From 8f7bcf75bb51a038bb3ba2618e2b7bff6773881f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 13 Oct 2026 20:59:05 +0200 Subject: [PATCH] std.c: fix Stat on dragonfly to use the correct field as blksize --- lib/std/c.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/std/c.zig b/lib/std/c.zig index e2d7226b2c2d97be9becc92e774113fc47f321a5..3a3cc1f3f23426bffedb4aa25e22c2cb18441e88 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -7895,11 +7895,11 @@ pub const Stat = switch (native_os) { ctim: timespec, size: c_ulong, blocks: i64, - blksize: u32, + _old_blksize: u32, flags: u32, gen: u32, lspare: i32, - qspare1: i64, + blksize: blksize_t, qspare2: i64, pub fn atime(self: @This()) timespec { return self.atim; -- 2.54.0