Move three file utility functions from pbd/filesystem.h to pbd/file_utils.h
[ardour.git] / libs / ardour / file_source.cc
index ba2b809dbe9a2b9685de9ecf3840ab5ec38e2880..2f7ad2caa870b9f2739ae0c451619849d87a5135 100644 (file)
@@ -32,7 +32,7 @@
 #include "pbd/strsplit.h"
 #include "pbd/shortpath.h"
 #include "pbd/enumwriter.h"
-#include "pbd/filesystem.h"
+#include "pbd/file_utils.h"
 
 #include <glibmm/miscutils.h>
 #include <glibmm/fileutils.h>
@@ -277,7 +277,7 @@ FileSource::find (Session& s, DataType type, const string& path, bool must_exist
                        ++j;
                        
                        while (j != hits.end()) {
-                               if (PBD::sys::equivalent_paths (*i, *j)) {
+                               if (PBD::equivalent_paths (*i, *j)) {
                                        /* *i and *j are the same file; break out of the loop early */
                                        break;
                                }