diff --git a/src/Services/PathService.cpp b/src/Services/PathService.cpp index 594d185c..71e241ee 100644 --- a/src/Services/PathService.cpp +++ b/src/Services/PathService.cpp @@ -12,7 +12,7 @@ namespace Services std::string PathService::applicationDirPath() { auto pathCharArray = std::array(); - if (readlink("/proc/self/exe", pathCharArray.data(), PATH_MAX) < 0) { + if (::readlink("/proc/self/exe", pathCharArray.data(), PATH_MAX) < 0) { throw Exceptions::Exception("Failed to obtain application directory path."); }