Browse Source

Add pthreads to includes for C files

Jeremy Soller 4 years ago
parent
commit
a28e9ae378
1 changed files with 1 additions and 0 deletions
  1. 1 0
      build.rs

+ 1 - 0
build.rs

@@ -58,6 +58,7 @@ fn main() {
         .flag("-nostdlib")
         .include(&format!("{}/include", crate_dir))
         .include(&format!("{}/target/include", crate_dir))
+        .include(&format!("{}/pthreads-emb", crate_dir))
         .flag("-fno-stack-protector")
         .flag("-Wno-expansion-to-defined")
         .files(