This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new af6c39d7701 [fix](compile) compile fail on MacOS because 
'bits/types/struct_timespec.h' not found (#39567) (#40044)
af6c39d7701 is described below

commit af6c39d770160e0f99a57eeef315f3e8ea350ee3
Author: camby <camby...@tencent.com>
AuthorDate: Wed Aug 28 22:01:49 2024 +0800

    [fix](compile) compile fail on MacOS because 'bits/types/struct_timespec.h' 
not found (#39567) (#40044)
    
    pick #39567 to branch-2.1
    
    Co-authored-by: 神技圈子 <songguang...@gmail.com>
    Co-authored-by: 宋光璠 <songguang...@sf.com>
---
 be/src/runtime/fragment_mgr.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/be/src/runtime/fragment_mgr.cpp b/be/src/runtime/fragment_mgr.cpp
index 0b9b7eb19d6..c0c6c52b8cc 100644
--- a/be/src/runtime/fragment_mgr.cpp
+++ b/be/src/runtime/fragment_mgr.cpp
@@ -17,7 +17,6 @@
 
 #include "runtime/fragment_mgr.h"
 
-#include <bits/types/struct_timespec.h>
 #include <bvar/latency_recorder.h>
 #include <exprs/runtime_filter.h>
 #include <fmt/format.h>
@@ -35,10 +34,12 @@
 #include <gen_cpp/types.pb.h>
 #include <pthread.h>
 #include <stddef.h>
+#include <sys/time.h>
 #include <thrift/TApplicationException.h>
 #include <thrift/Thrift.h>
 #include <thrift/protocol/TDebugProtocol.h>
 #include <thrift/transport/TTransportException.h>
+#include <time.h>
 
 #include <algorithm>
 #include <atomic>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to