std.c: fix timerfd_clockid_t.MONOTONIC on freebsd

This commit is contained in:
John Benediktsson 2025-02-02 10:25:33 -08:00 committed by Alex Rønne Petersen
parent d358ef804e
commit 7309a13bd8

View File

@ -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,