add kxstudio linux vst dirs to LXVST default search path
[ardour.git] / libs / ardour / session_state_utils.cc
index a7be0583f9b0508e6b5d90a6962fe6f5d0ae288f..13d65e5b3c404d42187905637269bd78a809bea6 100644 (file)
@@ -26,7 +26,6 @@
 #include "pbd/compose.h"
 #include "pbd/error.h"
 #include "pbd/file_utils.h"
-#include "pbd/filesystem.h"
 
 #include "ardour/session_state_utils.h"
 #include "ardour/filename_extensions.h"
@@ -41,7 +40,7 @@ namespace ARDOUR {
 bool
 create_backup_file (const std::string & file_path)
 {
-       return sys::copy_file (file_path, file_path + backup_suffix);
+       return copy_file (file_path, file_path + backup_suffix);
 }
 
 void