Skip to content

Commit a6e025e

Browse files
committed
Fix complication on Solaris
With the net feature enabled, but with os-poll disabled.
1 parent 49d8fd3 commit a6e025e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sys/shell/tcp.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ pub(crate) fn set_keepalive_params(_: TcpSocket, _: TcpKeepalive) -> io::Result<
9090
target_os = "ios",
9191
target_os = "freebsd",
9292
target_os = "netbsd",
93+
target_os = "solaris",
9394
))]
9495
pub(crate) fn get_keepalive_time(_: TcpSocket) -> io::Result<Option<Duration>> {
9596
os_required!()

0 commit comments

Comments
 (0)