--- core/HtmlFile/HtmlFile.cpp.orig 2021-09-30 12:13:32 UTC +++ core/HtmlFile/HtmlFile.cpp @@ -45,7 +45,7 @@ #include #include -#ifdef LINUX +#if defined(LINUX) || defined(__FreeBSD__) #include #include #include @@ -475,7 +475,7 @@ int CHtmlFile::Convert(const std::vector NSFile::CFileBinary::Remove(sTempFileForParams); #endif -#ifdef LINUX +#if defined(LINUX) || defined(__FreeBSD__) std::wstring sTempFileForParams = NSFile::CFileBinary::CreateTempFileWithUniqueName(NSFile::CFileBinary::GetTempPath(), L"XML"); NSFile::CFileBinary oFile; oFile.CreateFileW(sTempFileForParams);