From 7309a13bd880982209832c4845912bddc245dcc3 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Sun, 2 Feb 2025 10:25:33 -0800 Subject: [PATCH] std.c: fix timerfd_clockid_t.MONOTONIC on freebsd --- 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 eb45d02802..fbd0c1d55c 100644 --- a/lib/std/c.zig +++ b/lib/std/c.zig @@ -224,7 +224,7 @@ pub const TIMERFD_CLOCK = timerfd_clockid_t; pub const timerfd_clockid_t = switch (native_os) { .freebsd => enum(u32) { REALTIME = 0, - MONOTONIC = 1, + MONOTONIC = 4, _, }, .linux => linux.timerfd_clockid_t,