diff --git a/src/driver.rs b/src/driver.rs
index 8589eb6918883ad37ee9442a1a7d1e26e57e9dff..b7caea3f631a5d36754c4e2e70cf9fabcfa6f8d1 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -36,6 +36,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
     }
     fn late_callback(
         &mut self,
+        trans: &::rustc_trans_utils::trans_crate::TransCrate,
         matches: &getopts::Matches,
         sess: &Session,
         cstore: &CrateStore,
@@ -43,7 +44,7 @@ impl<'a> CompilerCalls<'a> for SeerCompilerCalls {
         odir: &Option<PathBuf>,
         ofile: &Option<PathBuf>
     ) -> Compilation {
-        self.0.late_callback(matches, sess, cstore, input, odir, ofile)
+        self.0.late_callback(trans, matches, sess, cstore, input, odir, ofile)
     }
     fn build_controller(&mut self, sess: &Session, matches: &getopts::Matches) -> CompileController<'a> {
         let mut control = self.0.build_controller(sess, matches);
diff --git a/src/lib.rs b/src/lib.rs
index 08cd73f744f127416592832b9ede7e6301acf745..0d559e36c26fb2bb7fce0bf19742abc80f4ec880 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -15,6 +15,7 @@ extern crate rustc_const_math;
 extern crate rustc_data_structures;
 extern crate rustc_driver;
 extern crate rustc_errors;
+extern crate rustc_trans_utils;
 extern crate syntax;
 
 // From crates.io.