From d7df711628fc69e133caeb3fc3ee8434213ef81b Mon Sep 17 00:00:00 2001
From: Klemens Morgenstern <klemens.morgenstern@gmx.net>
Date: Thu, 27 Feb 2025 10:12:55 +0800
Subject: [PATCH] remove `::` from `dirfd`

closes #461
---
 src/posix/close_handles.cpp | 2 +-
 test/v1/limit_fd.cpp        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/posix/close_handles.cpp b/src/posix/close_handles.cpp
index 0da2b755e..5795a3b1c 100644
--- libs/process/src/posix/close_handles.cpp
+++ libs/process/src/posix/close_handles.cpp
@@ -185,7 +185,7 @@ void close_all(const std::vector<int> & whitelist, error_code & ec)
         return ;
     }
 
-    auto dir_fd = ::dirfd(dir.get());
+    auto dir_fd = dirfd(dir.get());
     if (dir_fd == -1)
     {
         ec = BOOST_PROCESS_V2_NAMESPACE::detail::get_last_error();
