From 1c1682180fc6eec9ad08875f13cf7441012ac342 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jeremy@system76.com> Date: Sat, 27 Feb 2021 13:34:01 -0700 Subject: [PATCH] Add generated includes when building C files --- build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/build.rs b/build.rs index 34834ff7..0c18d7e8 100644 --- a/build.rs +++ b/build.rs @@ -57,6 +57,7 @@ fn main() { .flag("-nostdinc") .flag("-nostdlib") .include(&format!("{}/include", crate_dir)) + .include(&format!("{}/target/include", crate_dir)) .flag("-fno-stack-protector") .flag("-Wno-expansion-to-defined") .files( -- GitLab