Merge pull request #339 from asomers/master

Add sethostname for freebsdlike operating systems
This commit is contained in:
Alex Crichton 2016-07-25 09:05:58 -07:00 committed by GitHub
commit 09261133a0
1 changed files with 1 additions and 0 deletions

View File

@ -811,6 +811,7 @@ extern {
clock_id: *mut clockid_t) -> ::c_int;
pub fn pthread_condattr_setclock(attr: *mut pthread_condattr_t,
clock_id: clockid_t) -> ::c_int;
pub fn sethostname(name: *const ::c_char, len: ::c_int) -> ::c_int;
}
cfg_if! {