Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Make sure the include dir is accessible from crates
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Parkanyi committed Oct 31, 2019
1 parent cfda425 commit 4388312
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion redbpf-macros/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn main() {

let bindings = bindgen::builder()
.clang_args(&flags)
.header("../include/redbpf_helpers.h")
.header("./include/redbpf_helpers.h")
.ctypes_prefix("::cty")
.whitelist_var("bpf_.*")
.generate()
Expand Down
1 change: 1 addition & 0 deletions redbpf-macros/include
2 changes: 1 addition & 1 deletion redbpf-probes/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn main() {

let bindings = bindgen::builder()
.clang_args(&flags)
.header("../include/redbpf_helpers.h")
.header("./include/redbpf_helpers.h")
.use_core()
.ctypes_prefix("::cty")
// bpf_helpers
Expand Down
1 change: 1 addition & 0 deletions redbpf-probes/include

0 comments on commit 4388312

Please sign in to comment.