Skip to content

Commit

Permalink
Auto merge of #22046 - mneumann:dragonfly-libstd-fixes, r=huonw
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Feb 8, 2015
2 parents bfdcd34 + 859f4d9 commit 012e964
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/libstd/sys/unix/c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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,
Expand Down

0 comments on commit 012e964

Please sign in to comment.