Skip to content

Commit 01561ef

Browse files
committed
Fix breakage caused by CLOCK_BOOTTIME being removed from DragonFly.
rust-lang/libc#3509 removed `CLOCK_BOOTIME` from DragonFly, which broke rustix.
1 parent 0030907 commit 01561ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/libc/time/syscalls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ pub(crate) fn clock_gettime_dynamic(id: DynamicClockId<'_>) -> io::Result<Timesp
167167
DynamicClockId::Tai => c::CLOCK_TAI,
168168

169169
#[cfg(any(
170-
freebsdlike,
170+
target_os = "freebsd",
171171
linux_kernel,
172172
target_os = "fuchsia",
173173
target_os = "openbsd"

0 commit comments

Comments
 (0)