diff --git a/Cargo.toml b/Cargo.toml index 6522195e8..5fbe3a4b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ appveyor = { repository = "alexcrichton/curl-rust" } [dependencies] libc = "0.2.42" -curl-sys = { path = "curl-sys", version = "0.4.56", default-features = false } +curl-sys = { path = "curl-sys", version = "0.4.59", default-features = false } socket2 = "0.4.0" # Unix platforms use OpenSSL for now to provide SSL functionality diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml index 9dd31e2a4..1163e778b 100644 --- a/curl-sys/Cargo.toml +++ b/curl-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "curl-sys" -version = "0.4.58+curl-7.86.0" +version = "0.4.59+curl-7.86.0" authors = ["Alex Crichton "] links = "curl" build = "build.rs" diff --git a/curl-sys/build.rs b/curl-sys/build.rs index db3d5df96..821959488 100644 --- a/curl-sys/build.rs +++ b/curl-sys/build.rs @@ -358,6 +358,7 @@ fn main() { .define("HAVE_FCNTL_O_NONBLOCK", None) .define("HAVE_SYS_SELECT_H", None) .define("HAVE_SYS_STAT_H", None) + .define("HAVE_SYS_TIME_H", None) .define("HAVE_UNISTD_H", None) .define("HAVE_RECV", None) .define("HAVE_SELECT", None)