diff options
| author | bors <bors@rust-lang.org> | 2015-02-08 16:47:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-02-08 16:47:12 +0000 |
| commit | 012e9643e4d6f6fa449ca4f4e5e3fc9fb8e536db (patch) | |
| tree | 90e537ddb5a42ce401f92d561a75cd4cf8cb1f7c /src/libstd | |
| parent | bfdcd34e82fca5186f0565c28c5c9b6a9f9b6c76 (diff) | |
| parent | 859f4d9f16097adb83d7ac34c1865c04957c907f (diff) | |
| download | rust-012e9643e4d6f6fa449ca4f4e5e3fc9fb8e536db.tar.gz rust-012e9643e4d6f6fa449ca4f4e5e3fc9fb8e536db.zip | |
Auto merge of #22046 - mneumann:dragonfly-libstd-fixes, r=huonw
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/sys/unix/c.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/c.rs b/src/libstd/sys/unix/c.rs index 22194145252..c27dbf6734a 100644 --- a/src/libstd/sys/unix/c.rs +++ b/src/libstd/sys/unix/c.rs @@ -72,7 +72,8 @@ pub const WNOHANG: libc::c_int = 1; #[cfg(target_os = "linux")] pub const _SC_GETPW_R_SIZE_MAX: libc::c_int = 70; #[cfg(any(target_os = "macos", - target_os = "freebsd"))] + target_os = "freebsd", + target_os = "dragonfly"))] pub const _SC_GETPW_R_SIZE_MAX: libc::c_int = 71; #[cfg(target_os = "openbsd")] pub const _SC_GETPW_R_SIZE_MAX: libc::c_int = 101; @@ -94,6 +95,7 @@ pub struct passwd { #[repr(C)] #[cfg(any(target_os = "macos", target_os = "freebsd", + target_os = "dragonfly", target_os = "openbsd"))] pub struct passwd { pub pw_name: *mut libc::c_char, |
