diff options
-rw-r--r-- | src/unistd.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd.rs b/src/unistd.rs index e42f83a5..25b20051 100644 --- a/src/unistd.rs +++ b/src/unistd.rs @@ -2742,7 +2742,7 @@ impl From<User> for libc::passwd { pw_age: CString::new("").unwrap().into_raw(), #[cfg(target_os = "illumos")] pw_comment: CString::new("").unwrap().into_raw(), - #[cfg(target_os = "freebsd")] + #[cfg(any(target_os = "dragonfly", target_os = "freebsd"))] pw_fields: 0, } } |