diff options
| author | Steven Fackler <sfackler@gmail.com> | 2016-03-03 09:54:15 -0800 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2016-03-03 09:54:15 -0800 |
| commit | e4aa513139cd1d25a42f9827ad677c045df3618d (patch) | |
| tree | 369d78e2015f163c4d24c9fbea33013b6823ad1d /src/libstd/sys | |
| parent | ee62aab2edc1897d587dc43ff379a69b185e3be7 (diff) | |
| download | rust-e4aa513139cd1d25a42f9827ad677c045df3618d.tar.gz rust-e4aa513139cd1d25a42f9827ad677c045df3618d.zip | |
Fix netbsd
Diffstat (limited to 'src/libstd/sys')
| -rw-r--r-- | src/libstd/sys/common/net.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/sys/common/net.rs b/src/libstd/sys/common/net.rs index bc6bbc38e14..ca4f6e19882 100644 --- a/src/libstd/sys/common/net.rs +++ b/src/libstd/sys/common/net.rs @@ -27,19 +27,19 @@ use time::Duration; #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios", target_os = "macos", - target_os = "openbsd"))] + target_os = "openbsd", target_os = "netbsd"))] use sys::net::netc::IPV6_JOIN_GROUP as IPV6_ADD_MEMBERSHIP; #[cfg(not(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios", target_os = "macos", - target_os = "openbsd")))] + target_os = "openbsd", target_os = "netbsd")))] use sys::net::netc::IPV6_ADD_MEMBERSHIP; #[cfg(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios", target_os = "macos", - target_os = "openbsd"))] + target_os = "openbsd", target_os = "netbsd"))] use sys::net::netc::IPV6_LEAVE_GROUP as IPV6_DROP_MEMBERSHIP; #[cfg(not(any(target_os = "dragonfly", target_os = "freebsd", target_os = "ios", target_os = "macos", - target_os = "openbsd")))] + target_os = "openbsd", target_os = "netbsd")))] use sys::net::netc::IPV6_DROP_MEMBERSHIP; //////////////////////////////////////////////////////////////////////////////// |
