From b8acf7c58bfa82919309d1163dfbd99cfacb399b Mon Sep 17 00:00:00 2001 From: Maerten Farya Date: Fri, 4 Sep 2026 12:58:07 +0200 Subject: [PATCH] fix: add support for QNX8 --- src/sys/unix.rs | 4 ++++ 1 file changed, 4 insertions(+) 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",