diff --git a/src/fs_base_fsync.hpp b/src/fs_base_fsync.hpp index 53dfcd40..051da350 100644 --- a/src/fs_base_fsync.hpp +++ b/src/fs_base_fsync.hpp @@ -33,6 +33,6 @@ namespace fs int fdatasync(const int fd) { - return ::fdatasync(fd); + return fs::fdatasync(fd); } } diff --git a/src/fs_base_utimensat.hpp b/src/fs_base_utimensat.hpp index fe49e3ee..5df5bba3 100644 --- a/src/fs_base_utimensat.hpp +++ b/src/fs_base_utimensat.hpp @@ -31,7 +31,7 @@ namespace fs const struct timespec times[2], const int flags) { - return ::utimensat(dirfd,path.c_str(),times,flags); + return fs::utimensat(dirfd,path.c_str(),times,flags); } static