]> git.lizzy.rs Git - rust.git/commitdiff
Fix netbsd
authorSteven Fackler <sfackler@gmail.com>
Thu, 3 Mar 2016 17:54:15 +0000 (09:54 -0800)
committerSteven Fackler <sfackler@gmail.com>
Thu, 3 Mar 2016 17:54:15 +0000 (09:54 -0800)
src/libstd/sys/common/net.rs

index bc6bbc38e14a4570f3fc92aa83d34806371b7322..ca4f6e19882b69e0913b63fd1ab9dba441d2cd81 100644 (file)
 
 #[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;
 
 ////////////////////////////////////////////////////////////////////////////////