summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2023-07-14 16:31:12 +0200
committercos <cos>2023-07-14 16:32:29 +0200
commit64ded4c97dd9471f62f5c75a992032e586387298 (patch)
tree66907ba3a33704cc120da5ab6793e1f7aa94bc9c
parentb55ec81c22988923279dcde2b8b9c41f124fef0a (diff)
downloadtermios-rs-wip/haiku_support.zip
tmp: Hard code include search pathwip/haiku_support
Required to make this code build on my machine, but this change should of course not be needed.
-rw-r--r--termios-sys/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/termios-sys/build.rs b/termios-sys/build.rs
index 12e9f1c..eaffb6c 100644
--- a/termios-sys/build.rs
+++ b/termios-sys/build.rs
@@ -233,6 +233,7 @@ fn main() {
let parse_callbacks = RewriteTypes::new();
let bindings = Builder::default()
.header("wrapper.h")
+ .clang_arg("-I/boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/11.2.0/include")
.derive_eq(true)
.derive_partialeq(true)
.parse_callbacks(Box::new(parse_callbacks))