Skip to content

Commit 9ae480c

Browse files
committed
Fix fd_set for DragonFly
1 parent a15e027 commit 9ae480c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/unix/bsd/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ s! {
6868

6969
pub struct fd_set {
7070
#[cfg(all(target_pointer_width = "64",
71-
target_os = "freebsd"))]
71+
any(target_os = "freebsd", target_os = "dragonfly")))]
7272
fds_bits: [i64; FD_SETSIZE / 64],
7373
#[cfg(not(all(target_pointer_width = "64",
74-
target_os = "freebsd")))]
74+
any(target_os = "freebsd", target_os = "dragonfly"))))]
7575
fds_bits: [i32; FD_SETSIZE / 32],
7676
}
7777

0 commit comments

Comments
 (0)