diff --git a/src/lib.rs b/src/lib.rs index 9d64748f..a2928d73 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -323,7 +323,9 @@ impl<'a> DerefMut for MaybeUninitSlice<'a> { #[derive(Debug, Clone)] pub struct TcpKeepalive { time: Option, + #[cfg_attr(target_os = "redox", allow(dead_code))] interval: Option, + #[cfg_attr(target_os = "redox", allow(dead_code))] retries: Option, }