Skip to content

Commit

Permalink
Auto merge of #946 - bgermann:master, r=alexcrichton
Browse files Browse the repository at this point in the history
Add ___errno() for Solaris
  • Loading branch information
bors committed Mar 10, 2018
2 parents 650d58e + 4c1d1f8 commit 787420a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/solaris/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,7 @@ extern {
pub fn ioctl(fildes: ::c_int, request: ::c_int, ...) -> ::c_int;
pub fn mprotect(addr: *const ::c_void, len: ::size_t, prot: ::c_int)
-> ::c_int;
pub fn ___errno() -> *mut ::c_int;
pub fn clock_getres(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int;
pub fn clock_gettime(clk_id: ::clockid_t, tp: *mut ::timespec) -> ::c_int;
pub fn clock_nanosleep(clk_id: ::clockid_t,
Expand Down

0 comments on commit 787420a

Please sign in to comment.