summaryrefslogtreecommitdiff
path: root/systest/build.rs
diff options
context:
space:
mode:
Diffstat (limited to 'systest/build.rs')
-rw-r--r--systest/build.rs2
1 files changed, 1 insertions, 1 deletions
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")