From 4c1d1f809d8adc08f87ee7061fc346ae95dfd9d4 Mon Sep 17 00:00:00 2001 From: bgermann Date: Sat, 10 Mar 2018 09:45:55 +0100 Subject: [PATCH] Add ___errno() for Solaris --- src/unix/solaris/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/solaris/mod.rs b/src/unix/solaris/mod.rs index 024b8ec3..5f8abded 100644 --- a/src/unix/solaris/mod.rs +++ b/src/unix/solaris/mod.rs @@ -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,