summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--systest/Cargo.toml4
-rw-r--r--systest/build.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/systest/Cargo.toml b/systest/Cargo.toml
index a9a3a99..dd78155 100644
--- a/systest/Cargo.toml
+++ b/systest/Cargo.toml
@@ -6,7 +6,7 @@ build = "build.rs"
[dependencies]
libssh2-sys = { path = "../libssh2-sys" }
-libc = "0.1"
+libc = "0.2"
[build-dependencies]
-ctest = "0.1"
+ctest = "0.2"
diff --git a/systest/build.rs b/systest/build.rs
index 2b3e66a..0d5773f 100644
--- a/systest/build.rs
+++ b/systest/build.rs
@@ -8,7 +8,7 @@ fn main() {
.header("libssh2_publickey.h")
.header("libssh2_sftp.h")
.include(env::var("DEP_SSH2_INCLUDE").unwrap())
- .type_name(|s, is_struct| {
+ .type_name(|s, is_struct, _is_union| {
if s == "stat" {
// Ensure that we emit `struct stat` rather than just a `stat` typedef.
format!("struct stat")