diff --git a/emulator/mgba-sys/build.rs b/emulator/mgba-sys/build.rs index 35a543e9..823635f8 100644 --- a/emulator/mgba-sys/build.rs +++ b/emulator/mgba-sys/build.rs @@ -52,6 +52,7 @@ fn generate_bindings() -> MyError { .allowlist_function("mLogCategoryName") .generate_cstr(true) .derive_default(true) + .clang_arg("-I./mgba/include") .generate()?; let out_path = PathBuf::from(env::var("OUT_DIR")?);