Skip to content

Commit 0162fe1

Browse files
authored
Fix build error with clang (#472)
1 parent 434137f commit 0162fe1

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ appveyor = { repository = "alexcrichton/curl-rust" }
1818

1919
[dependencies]
2020
libc = "0.2.42"
21-
curl-sys = { path = "curl-sys", version = "0.4.56", default-features = false }
21+
curl-sys = { path = "curl-sys", version = "0.4.59", default-features = false }
2222
socket2 = "0.4.0"
2323

2424
# Unix platforms use OpenSSL for now to provide SSL functionality

curl-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "curl-sys"
3-
version = "0.4.58+curl-7.86.0"
3+
version = "0.4.59+curl-7.86.0"
44
authors = ["Alex Crichton <[email protected]>"]
55
links = "curl"
66
build = "build.rs"

curl-sys/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ fn main() {
358358
.define("HAVE_FCNTL_O_NONBLOCK", None)
359359
.define("HAVE_SYS_SELECT_H", None)
360360
.define("HAVE_SYS_STAT_H", None)
361+
.define("HAVE_SYS_TIME_H", None)
361362
.define("HAVE_UNISTD_H", None)
362363
.define("HAVE_RECV", None)
363364
.define("HAVE_SELECT", None)

0 commit comments

Comments
 (0)