This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 1730e000eeb Fix BE UT macOS compile (#29663)
1730e000eeb is described below
commit 1730e000eeb89a61d105dae215a80a725448f6f6
Author: plat1ko <[email protected]>
AuthorDate: Mon Jan 8 22:53:46 2024 +0800
Fix BE UT macOS compile (#29663)
---
be/test/io/fs/local_file_system_test.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/test/io/fs/local_file_system_test.cpp
b/be/test/io/fs/local_file_system_test.cpp
index 67d2a255132..5cfdb9ac73b 100644
--- a/be/test/io/fs/local_file_system_test.cpp
+++ b/be/test/io/fs/local_file_system_test.cpp
@@ -17,15 +17,15 @@
#include "io/fs/local_file_system.h"
-#include <asm-generic/errno-base.h>
#include <gtest/gtest-message.h>
#include <gtest/gtest-test-part.h>
#include <gtest/gtest.h>
-#include <stdlib.h>
#include <sys/stat.h>
#include <sys/uio.h>
#include <unistd.h>
+#include <cerrno>
+#include <cstdlib>
#include <filesystem>
#include <vector>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]