summaryrefslogtreecommitdiff
path: root/src/sys/socket
diff options
context:
space:
mode:
authorNick Pelone <nick.pelone@calyptix.com>2020-05-26 15:20:39 -0400
committerNick Pelone <nick.pelone@calyptix.com>2020-05-26 15:20:39 -0400
commitdd0a99001ea2607c9914b882b0b6a10fa22c5375 (patch)
tree788de058ba812935898d0830c1fc143e9fab057e /src/sys/socket
parentc379d1ac997a84c0a2fe96b0f65c3bf244c96c8d (diff)
downloadnix-dd0a99001ea2607c9914b882b0b6a10fa22c5375.zip
Fix build on OpenBSD caused by erroneous inclusion in allowed OS list for sendmmsg() / recvmmsg() in #1208.
In #1208, sendmmsg() / recvmmsg() were added, but OpenBSD(who doesn't support these) was included on the list of allowed operating systems for sendmmsg() related things. This broke the build on OpenBSD. For more Rust-world examples, see: https://github.com/rust-lang/libc/commit/6f6297301d49ff67b8ca044d651f36a56950298c
Diffstat (limited to 'src/sys/socket')
-rw-r--r--src/sys/socket/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs
index 52768c93..a3c0d128 100644
--- a/src/sys/socket/mod.rs
+++ b/src/sys/socket/mod.rs
@@ -920,7 +920,6 @@ pub fn sendmsg(fd: RawFd, iov: &[IoVec<&[u8]>], cmsgs: &[ControlMessage],
target_os = "linux",
target_os = "android",
target_os = "freebsd",
- target_os = "openbsd",
target_os = "netbsd",
))]
#[derive(Debug)]
@@ -956,7 +955,6 @@ pub struct SendMmsgData<'a, I, C>
target_os = "linux",
target_os = "android",
target_os = "freebsd",
- target_os = "openbsd",
target_os = "netbsd",
))]
pub fn sendmmsg<'a, I, C>(