aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.rs2
-rw-r--r--wrapper.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/build.rs b/build.rs
index 7b3325c..470cb96 100644
--- a/build.rs
+++ b/build.rs
@@ -7,7 +7,7 @@ fn main() {
println!("cargo:rustc-link-lib=nitrokey");
let bindings = bindgen::Builder::default()
- .header("wrapper.h")
+ .header("libnitrokey-3.3/NK_C_API.h")
.generate()
.expect("Unable to generate bindings");
let out_path = PathBuf::from(env::var("OUT_DIR").unwrap());
diff --git a/wrapper.h b/wrapper.h
deleted file mode 100644
index 3c8d7cf..0000000
--- a/wrapper.h
+++ /dev/null
@@ -1,2 +0,0 @@
-#include <stdbool.h>
-#include <libnitrokey/NK_C_API.h>