From d305d55e38926d2420b4dad9caf4345f9afbe52c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Fri, 16 Oct 2026 21:07:57 +0200 Subject: [PATCH] std.c: fix speed_t width for openbsd --- lib/std/c.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/c.zig b/lib/std/c.zig index 14d11576ec6e9eea1415b629a998f9bb27d0b25b..87db7f370f5ed4302a8245adf7dbc474d4a68d44 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -9600,7 +9600,7 @@ pub const tc_lflag_t = switch (native_os) { pub const speed_t = switch (native_os) { .linux => linux.speed_t, - .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos, .openbsd => enum(u64) { + .driverkit, .ios, .maccatalyst, .macos, .tvos, .visionos, .watchos, .openbsd => enum(if (native_os == .openbsd) c_uint else u64) { B0 = 0, B50 = 50, B75 = 75, -- 2.54.0