Skip to content

Commit b97166f

Browse files
committed
Add settimeofday for openbsd
1 parent 3a1b3a7 commit b97166f

File tree

1 file changed

+1
-0
lines changed
  • src/unix/bsd/netbsdlike/openbsd

1 file changed

+1
-0
lines changed

src/unix/bsd/netbsdlike/openbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1374,6 +1374,7 @@ f! {
13741374

13751375
extern "C" {
13761376
pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::timezone) -> ::c_int;
1377+
pub fn settimeofday(tp: *const ::timeval, tz: *const ::timezone) -> ::c_int;
13771378
pub fn accept4(
13781379
s: ::c_int,
13791380
addr: *mut ::sockaddr,

0 commit comments

Comments
 (0)