We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb96add commit 7d3be9bCopy full SHA for 7d3be9b
src/sys/unix/mod.rs
@@ -52,7 +52,7 @@ cfg_if! {
52
cfg_if! {
53
if #[cfg(any(target_os = "macos", target_os = "ios"))] {
54
use libc::TCP_KEEPALIVE as KEEPALIVE_OPTION;
55
- } else if #[cfg(any(target_os = "openbsd", target_os = "netbsd"))] {
+ } else if #[cfg(any(target_os = "openbsd", target_os = "netbsd", target_os = "haiku"))] {
56
use libc::SO_KEEPALIVE as KEEPALIVE_OPTION;
57
} else {
58
use libc::TCP_KEEPIDLE as KEEPALIVE_OPTION;
0 commit comments