Skip to content

Commit

Permalink
Fix complication on Solaris
Browse files Browse the repository at this point in the history
With the net feature enabled, but with os-poll disabled.
  • Loading branch information
Thomasdezeeuw committed Dec 30, 2020
1 parent 49d8fd3 commit a6e025e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sys/shell/tcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ pub(crate) fn set_keepalive_params(_: TcpSocket, _: TcpKeepalive) -> io::Result<
target_os = "ios",
target_os = "freebsd",
target_os = "netbsd",
target_os = "solaris",
))]
pub(crate) fn get_keepalive_time(_: TcpSocket) -> io::Result<Option<Duration>> {
os_required!()
Expand Down

0 comments on commit a6e025e

Please sign in to comment.