diff --git a/redbpf-macros/build.rs b/redbpf-macros/build.rs index 91f76e82..ffa7ec0e 100644 --- a/redbpf-macros/build.rs +++ b/redbpf-macros/build.rs @@ -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() diff --git a/redbpf-macros/include b/redbpf-macros/include new file mode 120000 index 00000000..f5030fe8 --- /dev/null +++ b/redbpf-macros/include @@ -0,0 +1 @@ +../include \ No newline at end of file diff --git a/redbpf-probes/build.rs b/redbpf-probes/build.rs index 64dc8dad..88a665e0 100644 --- a/redbpf-probes/build.rs +++ b/redbpf-probes/build.rs @@ -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 diff --git a/redbpf-probes/include b/redbpf-probes/include new file mode 120000 index 00000000..f5030fe8 --- /dev/null +++ b/redbpf-probes/include @@ -0,0 +1 @@ +../include \ No newline at end of file