diff --git a/src/fcntl.rs b/src/fcntl.rs index e227e7c0c7a5f3339db466ab83a736da589efeab..7556aa1e5a1af2aaaeed847794fddd677593c6b4 100644 --- a/src/fcntl.rs +++ b/src/fcntl.rs @@ -104,7 +104,7 @@ libc_bitflags!( #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios", - all(target_os = "linux", not(target_env = "musl")), + all(target_os = "linux", not(any(target_env = "musl", target_env = "ohos"))), target_os = "macos", target_os = "netbsd", target_os = "openbsd",