From e4aa513139cd1d25a42f9827ad677c045df3618d Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Thu, 3 Mar 2016 09:54:15 -0800 Subject: [PATCH] Fix netbsd --- src/libstd/sys/common/net.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libstd/sys/common/net.rs b/src/libstd/sys/common/net.rs index bc6bbc38e14a4..ca4f6e19882b6 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; ////////////////////////////////////////////////////////////////////////////////