Skip to content

Commit

Permalink
Fix netbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
sfackler committed Mar 3, 2016
1 parent ee62aab commit e4aa513
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/libstd/sys/common/net.rs
Expand Up @@ -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;

////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit e4aa513

Please sign in to comment.