aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/CommonIO.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdevcore/CommonIO.h')
-rw-r--r--libdevcore/CommonIO.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libdevcore/CommonIO.h b/libdevcore/CommonIO.h
index 3ecdb4c3..9ba68e74 100644
--- a/libdevcore/CommonIO.h
+++ b/libdevcore/CommonIO.h
@@ -25,6 +25,7 @@
#include <sstream>
#include <string>
+#include <boost/filesystem.hpp>
#include "Common.h"
namespace dev
@@ -57,4 +58,8 @@ std::string toString(_T const& _t)
return o.str();
}
+/// Partial implementation of boost::filesystem::weakly_canonical (available in boost>=1.60).
+/// Should be replaced by the boost implementation as soon as support for boost<1.60 can be dropped.
+boost::filesystem::path weaklyCanonicalFilesystemPath(boost::filesystem::path const &_path);
+
}