summaryrefslogtreecommitdiff
path: root/src/sys/statvfs.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/statvfs.rs')
-rw-r--r--src/sys/statvfs.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sys/statvfs.rs b/src/sys/statvfs.rs
index ab54b4b5..38b1fdcc 100644
--- a/src/sys/statvfs.rs
+++ b/src/sys/statvfs.rs
@@ -16,8 +16,10 @@ libc_bitflags!(
#[derive(Default)]
pub struct FsFlags: c_ulong {
/// Read Only
+ #[cfg(not(target_os = "haiku"))]
ST_RDONLY;
/// Do not allow the set-uid bits to have an effect
+ #[cfg(not(target_os = "haiku"))]
ST_NOSUID;
/// Do not interpret character or block-special devices
#[cfg(any(target_os = "android", target_os = "linux"))]