Skip to content

Commit

Permalink
fixup! freebsd: Check if Framework system by kenv
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAZoidberg committed Jul 7, 2024
1 parent 2dca0dc commit b0aa9f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions framework_lib/src/smbios.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ pub fn get_platform() -> Option<Platform> {
platform
}

#[cfg(target_os = "freebsd")]
fn kenv_get(name: &str) -> nix::Result<String> {
use libc::{c_int, KENV_GET, KENV_MVALLEN};
use nix::errno::Errno;
Expand Down

0 comments on commit b0aa9f3

Please sign in to comment.