diff --git a/src/unix/solarish/mod.rs b/src/unix/solarish/mod.rs
index eaa43fe9001608c3aafbe88277c30d1c398c5f75..49a18367e7e6915975e9701175e42e3b079439ea 100644
--- a/src/unix/solarish/mod.rs
+++ b/src/unix/solarish/mod.rs
@@ -1889,6 +1889,7 @@ extern "C" {
     pub fn srand(seed: ::c_uint);
 
     pub fn gettimeofday(tp: *mut ::timeval, tz: *mut ::c_void) -> ::c_int;
+    pub fn settimeofday(tp: *const ::timeval, tz: *const ::c_void) -> ::c_int;
     pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int;
     pub fn freeifaddrs(ifa: *mut ::ifaddrs);