]> git.tdb.fi Git - builder.git/blobdiff - source/dependencycache.cpp
Migrate from msppath to mspfs
[builder.git] / source / dependencycache.cpp
index 85ed4fd656b20a74746e0513d7dd11e13c2ad365..3afbf009c6a4cf42d203d68d75274ba918dce945 100644 (file)
@@ -6,7 +6,7 @@ Distributed under the LGPL
 */
 
 #include <fstream>
-#include <msp/path/utils.h>
+#include <msp/fs/stat.h>
 #include <msp/strings/utils.h>
 #include "builder.h"
 #include "dependencycache.h"
@@ -73,5 +73,5 @@ void DependencyCache::load()
                deps[parts[0]]=StringList(parts.begin()+1, parts.end());
        }
 
-       mtime=Time::TimeStamp::from_unixtime(stat(fn).st_mtime);
+       mtime=Time::TimeStamp::from_unixtime(FS::stat(fn).st_mtime);
 }