Skip to content
Snippets Groups Projects
Commit 09261133 authored by Alex Crichton's avatar Alex Crichton Committed by GitHub
Browse files

Merge pull request #339 from asomers/master

Add sethostname for freebsdlike operating systems
parents bbf53a1f 366509d3
No related branches found
No related tags found
No related merge requests found
......@@ -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! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment