diff --git a/src/unix/bsd/mod.rs b/src/unix/bsd/mod.rs index 03fe18c2ea4be..5317469a06018 100644 --- a/src/unix/bsd/mod.rs +++ b/src/unix/bsd/mod.rs @@ -64,7 +64,7 @@ s! { } pub struct fd_set { - fds_bits: [i32; FD_SETSIZE / 32], + pub fds_bits: [i32; FD_SETSIZE / 32], } } diff --git a/src/unix/notbsd/mod.rs b/src/unix/notbsd/mod.rs index ed84bef24780c..981d1c8227b29 100644 --- a/src/unix/notbsd/mod.rs +++ b/src/unix/notbsd/mod.rs @@ -70,7 +70,7 @@ s! { } pub struct fd_set { - fds_bits: [::c_ulong; FD_SETSIZE / ULONG_SIZE], + pub fds_bits: [::c_ulong; FD_SETSIZE / ULONG_SIZE], } }