diff options
-rw-r--r-- | build.rs | 2 | ||||
-rw-r--r-- | wrapper.h | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -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> |