#include "analytics.h"
#include "compose.hpp"
#include "exceptions.h"
-#include "warnings.h"
+#include <dcp/filesystem.h>
#include <dcp/raw_convert.h>
+#include <dcp/warnings.h>
#include <libcxml/cxml.h>
-DCPOMATIC_DISABLE_WARNINGS
+LIBDCP_DISABLE_WARNINGS
#include <libxml++/libxml++.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
try
{
cxml::Document f ("Analytics");
- f.read_file (read_path("analytics.xml"));
+ f.read_file(dcp::filesystem::fix_long_path(read_path("analytics.xml")));
_successful_dcp_encodes = f.number_child<int>("SuccessfulDCPEncodes");
} catch (...) {
/* Never mind */