diff options
Diffstat (limited to 'src/unix/bsd/netbsdlike/mod.rs')
-rw-r--r-- | src/unix/bsd/netbsdlike/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/unix/bsd/netbsdlike/mod.rs b/src/unix/bsd/netbsdlike/mod.rs index bcdb8931c5..a5ecfb1b79 100644 --- a/src/unix/bsd/netbsdlike/mod.rs +++ b/src/unix/bsd/netbsdlike/mod.rs @@ -528,6 +528,8 @@ extern { pub fn pthread_condattr_setclock(attr: *mut pthread_condattr_t, clock_id: clockid_t) -> ::c_int; pub fn sethostname(name: *const ::c_char, len: ::size_t) -> ::c_int; + pub fn pthread_mutex_timedlock(lock: *mut pthread_mutex_t, + abstime: *const ::timespec) -> ::c_int; } cfg_if! { |