Fix warning cause by previous libdcp bump.
[dcpomatic.git] / src / lib / cross_windows.cc
index 9480f77545fbaa5f8f3e2165b5a3164a5045a89a..9181b6c8abf1deb8861a21c65b3db63d4d62a883 100644 (file)
@@ -30,6 +30,7 @@
 #include "dcpomatic_assert.h"
 #include "util.h"
 #include <dcp/file.h>
+#include <dcp/filesystem.h>
 #include <dcp/raw_convert.h>
 #include <glib.h>
 extern "C" {
@@ -166,7 +167,7 @@ run_ffprobe(boost::filesystem::path content, boost::filesystem::path out, bool e
 
        wcscat(command, L" \"");
 
-       MultiByteToWideChar(CP_UTF8, 0, boost::filesystem::canonical(content).make_preferred().string().c_str(), -1, tmp, sizeof(tmp));
+       MultiByteToWideChar(CP_UTF8, 0, dcp::filesystem::canonical(content).make_preferred().string().c_str(), -1, tmp, sizeof(tmp));
        wcscat(command, tmp);
 
        wcscat(command, L"\"");