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.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/statvfs.rs b/src/sys/statvfs.rs
index e4b00b37..dc7327d9 100644
--- a/src/sys/statvfs.rs
+++ b/src/sys/statvfs.rs
@@ -57,6 +57,7 @@ libc_bitflags!(
/// For more information see the [`statvfs(3)` man pages](http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_statvfs.h.html).
// FIXME: Replace with repr(transparent)
#[repr(C)]
+#[derive(Clone, Copy)]
pub struct Statvfs(libc::statvfs);
impl Statvfs {