diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-02-21 03:31:38 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-02-21 03:31:38 +0000 |
commit | 2b9c67cca5c6113a9b8162ca7abef33269439997 (patch) | |
tree | d366fae2fb3b0291305f6790101c75351f8c9bd7 /src/sys/socket | |
parent | 8d1766e5edff85ed19c6341659e58c9aa0f053a9 (diff) | |
parent | 647bac767036e68c8cc0a69a25547e6ee50994a0 (diff) | |
download | nix-2b9c67cca5c6113a9b8162ca7abef33269439997.zip |
Merge #825
825: FreeBSD: cfmakesane, EVFILT_* r=Susurrus a=myfreeweb
Depends on: https://github.com/rust-lang/libc/pull/887
Diffstat (limited to 'src/sys/socket')
-rw-r--r-- | src/sys/socket/mod.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/sys/socket/mod.rs b/src/sys/socket/mod.rs index beef3db8..af66bc47 100644 --- a/src/sys/socket/mod.rs +++ b/src/sys/socket/mod.rs @@ -163,7 +163,12 @@ libc_bitflags!{ /// [open(2)](http://pubs.opengroup.org/onlinepubs/9699919799/functions/open.html). /// /// Only used in [`recvmsg`](fn.recvmsg.html) function. - #[cfg(any(target_os = "linux", target_os = "android"))] + #[cfg(any(target_os = "android", + target_os = "dragonfly", + target_os = "freebsd", + target_os = "linux", + target_os = "netbsd", + target_os = "openbsd"))] MSG_CMSG_CLOEXEC; } } |