diff --git a/Cargo.lock b/Cargo.lock index a3c88d1..bab5967 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -297,7 +297,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "phnt" -version = "0.0.3" +version = "0.0.4" dependencies = [ "bindgen", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 719f8de..dd46956 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "phnt" -version = "0.0.3" +version = "0.0.4" license = "MIT" authors = ["oberrich "] repository = "https://github.com/oberrich/phnt-rs" diff --git a/src/build.rs b/src/build.rs index 98f0544..af6dc30 100644 --- a/src/build.rs +++ b/src/build.rs @@ -70,7 +70,7 @@ impl BindgenConfig { ]; bindgen::builder() - .header(concat!(env!("CARGO_MANIFEST_DIR"), "\\src\\ffi\\wrapper.h")) + .header(concat!(env!("CARGO_MANIFEST_DIR"), "/src/ffi/wrapper.h")) .raw_line(raw_lines.join("\r\n").as_str()) .clang_args(clang_args) .allowlist_file(allowlist_regexpr.as_str())