diff --git a/src/sys/unix.rs b/src/sys/unix.rs index 65e494bc..ccb149f9 100644 --- a/src/sys/unix.rs +++ b/src/sys/unix.rs @@ -271,6 +271,7 @@ pub(crate) use libc::{ target_os = "macos", target_os = "netbsd", target_os = "nto", + target_os = "qnx", target_os = "openbsd", target_os = "solaris", target_os = "tvos", @@ -289,6 +290,7 @@ pub(crate) use libc::{IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP}; target_os = "macos", target_os = "netbsd", target_os = "openbsd", + target_os = "qnx", target_os = "solaris", target_os = "tvos", target_os = "watchos", @@ -427,6 +429,7 @@ type IovLen = usize; target_os = "macos", target_os = "netbsd", target_os = "nto", + target_os = "qnx", target_os = "openbsd", target_os = "solaris", target_os = "tvos", @@ -1297,6 +1300,7 @@ pub(crate) fn set_tcp_keepalive(fd: RawSocket, keepalive: &TcpKeepalive) -> io:: target_os = "ios", target_os = "visionos", target_os = "linux", + target_os = "qnx", target_os = "macos", target_os = "netbsd", target_os = "tvos",