@@ -25,19 +25,23 @@ use time::Duration;
2525
2626#[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" ,
2727 target_os = "ios" , target_os = "macos" ,
28- target_os = "openbsd" , target_os = "netbsd" ) ) ]
28+ target_os = "openbsd" , target_os = "netbsd" ,
29+ target_os = "solaris" ) ) ]
2930use sys:: net:: netc:: IPV6_JOIN_GROUP as IPV6_ADD_MEMBERSHIP ;
3031#[ cfg( not( any( target_os = "dragonfly" , target_os = "freebsd" ,
3132 target_os = "ios" , target_os = "macos" ,
32- target_os = "openbsd" , target_os = "netbsd" ) ) ) ]
33+ target_os = "openbsd" , target_os = "netbsd" ,
34+ target_os = "solaris" ) ) ) ]
3335use sys:: net:: netc:: IPV6_ADD_MEMBERSHIP ;
3436#[ cfg( any( target_os = "dragonfly" , target_os = "freebsd" ,
3537 target_os = "ios" , target_os = "macos" ,
36- target_os = "openbsd" , target_os = "netbsd" ) ) ]
38+ target_os = "openbsd" , target_os = "netbsd" ,
39+ target_os = "solaris" ) ) ]
3740use sys:: net:: netc:: IPV6_LEAVE_GROUP as IPV6_DROP_MEMBERSHIP ;
3841#[ cfg( not( any( target_os = "dragonfly" , target_os = "freebsd" ,
3942 target_os = "ios" , target_os = "macos" ,
40- target_os = "openbsd" , target_os = "netbsd" ) ) ) ]
43+ target_os = "openbsd" , target_os = "netbsd" ,
44+ target_os = "solaris" ) ) ) ]
4145use sys:: net:: netc:: IPV6_DROP_MEMBERSHIP ;
4246
4347////////////////////////////////////////////////////////////////////////////////
0 commit comments