Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(util): Fix boottime to work on OpenBSD (#4667)
OpenBSD doesn't have sysctlbyname() But all BSDs have sysctl(). Luckily, all BSDs' have the same values in sysctl.h for CTL_KERN. Unfortunately, KERN_BOOTTIME is not so consistent, so we need to add a small compat hack for NetBSD. Sponsored by: The FreeBSD Foundation
- Loading branch information