Skip to content

Commit e4aa513

Browse files
committed
Fix netbsd
1 parent ee62aab commit e4aa513

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/sys/common/net.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ use time::Duration;
2727

2828
#[cfg(any(target_os = "dragonfly", target_os = "freebsd",
2929
target_os = "ios", target_os = "macos",
30-
target_os = "openbsd"))]
30+
target_os = "openbsd", target_os = "netbsd"))]
3131
use sys::net::netc::IPV6_JOIN_GROUP as IPV6_ADD_MEMBERSHIP;
3232
#[cfg(not(any(target_os = "dragonfly", target_os = "freebsd",
3333
target_os = "ios", target_os = "macos",
34-
target_os = "openbsd")))]
34+
target_os = "openbsd", target_os = "netbsd")))]
3535
use sys::net::netc::IPV6_ADD_MEMBERSHIP;
3636
#[cfg(any(target_os = "dragonfly", target_os = "freebsd",
3737
target_os = "ios", target_os = "macos",
38-
target_os = "openbsd"))]
38+
target_os = "openbsd", target_os = "netbsd"))]
3939
use sys::net::netc::IPV6_LEAVE_GROUP as IPV6_DROP_MEMBERSHIP;
4040
#[cfg(not(any(target_os = "dragonfly", target_os = "freebsd",
4141
target_os = "ios", target_os = "macos",
42-
target_os = "openbsd")))]
42+
target_os = "openbsd", target_os = "netbsd")))]
4343
use sys::net::netc::IPV6_DROP_MEMBERSHIP;
4444

4545
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)