diff --git a/src/backend/helpers.cpp b/src/backend/helpers.cpp index 46a9d77e..2abfd939 100644 --- a/src/backend/helpers.cpp +++ b/src/backend/helpers.cpp @@ -27,6 +27,7 @@ #include "helpers.h" #include "error.h" +#include "streams.h" #include #include @@ -37,7 +38,6 @@ #include #include -#include #include #include #include @@ -125,7 +125,7 @@ namespace boss { uint32_t chksum = 0; static const size_t buffer_size = 8192; char buffer[buffer_size]; - ifstream ifile(filename.string().c_str(), ios::binary); + boss::ifstream ifile(filename.string().c_str(), ios::binary); // LOG_TRACE("calculating CRC for: '%s'", filename.string().c_str()); boost::crc_32_type result; if (ifile) {