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" {
|
extern "C" {
|
||||||
pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::timezone) -> ::c_int;
|
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(
|
pub fn accept4(
|
||||||
s: ::c_int,
|
s: ::c_int,
|
||||||
addr: *mut ::sockaddr,
|
addr: *mut ::sockaddr,
|
||||||
|
|
Loading…
Reference in New Issue