Skip to content

Commit fc7687d

Browse files
committed
Fix build for DragonFlyBSD
1 parent dab7332 commit fc7687d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unistd.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2742,7 +2742,7 @@ impl From<User> for libc::passwd {
27422742
pw_age: CString::new("").unwrap().into_raw(),
27432743
#[cfg(target_os = "illumos")]
27442744
pw_comment: CString::new("").unwrap().into_raw(),
2745-
#[cfg(target_os = "freebsd")]
2745+
#[cfg(any(target_os = "dragonfly", target_os = "freebsd"))]
27462746
pw_fields: 0,
27472747
}
27482748
}

0 commit comments

Comments
 (0)