summaryrefslogtreecommitdiff
path: root/src/sys/select.rs
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-02-19 17:32:29 +0300
committerNikolay Amiantov <ab@fmap.me>2016-02-20 00:19:13 +0300
commitdbce477ae0b385a7e4405d7c2a1a872844d94b47 (patch)
tree77cbf4a7309ce09ce70e311fefb9dc5fb7dd0927 /src/sys/select.rs
parentdb22a823f497bf1ad74188f4ead66cfd751b3019 (diff)
downloadnix-dbce477ae0b385a7e4405d7c2a1a872844d94b47.zip
select: make FdSet Cloneable
Diffstat (limited to 'src/sys/select.rs')
-rw-r--r--src/sys/select.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/select.rs b/src/sys/select.rs
index 48746e72..1b47d759 100644
--- a/src/sys/select.rs
+++ b/src/sys/select.rs
@@ -17,6 +17,7 @@ const BITS: usize = 32;
#[cfg(not(any(target_os = "macos", target_os = "ios")))]
#[repr(C)]
+#[derive(Clone)]
pub struct FdSet {
bits: [u64; FD_SETSIZE as usize / 64]
}