diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-06-20 19:03:19 +0000 |
---|---|---|
committer | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-06-20 19:03:19 +0000 |
commit | 7fa4f233ca4f87269d4c44c9ead7d60a8d07ef18 (patch) | |
tree | 2993d77d39b8ebba3c0804abdd90cb6b182a2ce9 /src/sys/mod.rs | |
parent | f92604399656b7656735f6126fb4d32d68656037 (diff) | |
parent | e6d810d14965f1783b0ce1ff0e4db3f4a157014c (diff) | |
download | nix-7fa4f233ca4f87269d4c44c9ead7d60a8d07ef18.zip |
Merge #928
928: Wrap libc::statfs r=asomers a=alesharik
Fix for [#926](https://github.com/nix-rust/nix/issues/926)
Co-authored-by: alesharik <alesharikreserv@yandex.ru>
Diffstat (limited to 'src/sys/mod.rs')
-rw-r--r-- | src/sys/mod.rs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/sys/mod.rs b/src/sys/mod.rs index 88c7251d..d3c2f92b 100644 --- a/src/sys/mod.rs +++ b/src/sys/mod.rs @@ -71,7 +71,14 @@ pub mod socket; pub mod stat; -#[cfg(any(target_os = "android", target_os = "linux", target_os = "macos"))] +#[cfg(any(target_os = "android", + target_os = "dragonfly", + target_os = "freebsd", + target_os = "ios", + target_os = "linux", + target_os = "macos", + target_os = "openbsd" +))] pub mod statfs; pub mod statvfs; |