about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorSteven Fackler <sfackler@gmail.com>2016-03-03 09:54:15 -0800
committerSteven Fackler <sfackler@gmail.com>2016-03-03 09:54:15 -0800
commite4aa513139cd1d25a42f9827ad677c045df3618d (patch)
tree369d78e2015f163c4d24c9fbea33013b6823ad1d /src/libstd/sys
parentee62aab2edc1897d587dc43ff379a69b185e3be7 (diff)
downloadrust-e4aa513139cd1d25a42f9827ad677c045df3618d.tar.gz
rust-e4aa513139cd1d25a42f9827ad677c045df3618d.zip
Fix netbsd
Diffstat (limited to 'src/libstd/sys')
-rw-r--r--src/libstd/sys/common/net.rs8
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;
 
 ////////////////////////////////////////////////////////////////////////////////