--- a/src/hugin1/PT/utils.h
+++ b/src/hugin1/PT/utils.h
@@ -44,7 +44,8 @@
                            const PTPrograms & progs,
                            const std::string & includePath,
                            std::vector<std::string> & outputFiles
-                           std::ostream & o)
+                           std::ostream & o,
+                           std::string & tmpDir)
 {   
     Panorama copyOfPano(pano);
     HuginBase::PanoramaMakefileExport(copyOfPano, o, images, ptofile, outputPrefix, progs, includePath).run();