From 071cfb915080dff7c20a94cabc9e1984dd946ef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Tue, 10 May 2022 16:12:38 +0900 Subject: [PATCH] Disable RECVTOS on OpenBSD --- src/socket.rs | 2 ++ src/sys/unix.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/src/socket.rs b/src/socket.rs index 570eab4e..ae7ef400 100644 --- a/src/socket.rs +++ b/src/socket.rs @@ -1398,6 +1398,7 @@ impl Socket { target_os = "fuschia", target_os = "illumos", target_os = "netbsd", + target_os = "openbsd", target_os = "redox", target_os = "solaris", )))] @@ -1423,6 +1424,7 @@ impl Socket { target_os = "fuschia", target_os = "illumos", target_os = "netbsd", + target_os = "openbsd", target_os = "redox", target_os = "solaris", )))] diff --git a/src/sys/unix.rs b/src/sys/unix.rs index 80ab89ec..310b91c4 100644 --- a/src/sys/unix.rs +++ b/src/sys/unix.rs @@ -81,6 +81,7 @@ pub(crate) use libc::IP_HDRINCL; target_os = "fuschia", target_os = "illumos", target_os = "netbsd", + target_os = "openbsd", target_os = "redox", target_os = "solaris", )))]