summaryrefslogtreecommitdiff
path: root/ext/fs/std_fs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ext/fs/std_fs.rs')
-rw-r--r--ext/fs/std_fs.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/fs/std_fs.rs b/ext/fs/std_fs.rs
index 9baf74a2a..b2923abb1 100644
--- a/ext/fs/std_fs.rs
+++ b/ext/fs/std_fs.rs
@@ -66,7 +66,11 @@ impl FileSystem for RealFs {
{
Ok(r.bits())
}
- #[cfg(target_os = "macos")]
+ #[cfg(any(
+ target_os = "macos",
+ target_os = "openbsd",
+ target_os = "freebsd"
+ ))]
{
Ok(r.bits() as u32)
}