diff --git a/build.rs b/build.rs index ea4dd15..8957678 100644 --- a/build.rs +++ b/build.rs @@ -80,6 +80,7 @@ fn build(sdk_path: Option<&str>, target: &str) { { println!("cargo:rustc-link-lib=framework=AudioToolbox"); headers.push("AudioToolbox/AudioToolbox.h"); + headers.push("AudioToolbox/AudioSession.h"); } #[cfg(feature = "core_audio")]