Auto merge of #1548 - GrayJack:openbsd-settime, r=gnzlbg
Add settimeofday for openbsd Closes #1546
This commit is contained in:
commit
7b31ef34ed
@ -1374,6 +1374,10 @@ f! {
|
||||
|
||||
extern "C" {
|
||||
pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::timezone) -> ::c_int;
|
||||
pub fn settimeofday(
|
||||
tp: *const ::timeval,
|
||||
tz: *const ::timezone,
|
||||
) -> ::c_int;
|
||||
pub fn accept4(
|
||||
s: ::c_int,
|
||||
addr: *mut ::sockaddr,
|
||||
|
Loading…
Reference in New Issue
Block a user