Skip to content

Commit

Permalink
Auto merge of #478 - jackpot51:patch-1, r=alexcrichton
Browse files Browse the repository at this point in the history
Add memalign to Redox (for use in allocator)

This is required to satisfy a review item here: rust-lang/rust#38401
  • Loading branch information
bors committed Dec 21, 2016
2 parents b21b709 + 6ff14a9 commit e49e9bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/redox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ s! {
pub sin6_scope_id: u32,
}
}

extern {
pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void;
}

0 comments on commit e49e9bb

Please sign in to comment.