summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]
}