diff --git a/src/sys/shell/tcp.rs b/src/sys/shell/tcp.rs index 260763aeb..b61a4ffc9 100644 --- a/src/sys/shell/tcp.rs +++ b/src/sys/shell/tcp.rs @@ -21,7 +21,7 @@ pub(crate) fn listen(_: &net::TcpListener, _: u32) -> io::Result<()> { os_required!(); } -#[cfg(unix)] +#[cfg(any(unix, target_os = "hermit"))] pub(crate) fn set_reuseaddr(_: &net::TcpListener, _: bool) -> io::Result<()> { os_required!(); }