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", )))]