Skip to content

Commit bf877ba

Browse files
committed
Auto merge of #1549 - GrayJack:solaris-settime, r=gnzlbg
Add settimeofday for solaris/illumos Closes #1547
2 parents bc5c15e + fb06358 commit bf877ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/unix/solarish/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1889,6 +1889,7 @@ extern "C" {
18891889
pub fn srand(seed: ::c_uint);
18901890

18911891
pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::c_void) -> ::c_int;
1892+
pub fn settimeofday(tp: *const ::timeval, tz: *const ::c_void) -> ::c_int;
18921893
pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int;
18931894
pub fn freeifaddrs(ifa: *mut ::ifaddrs);
18941895

0 commit comments

Comments
 (0)