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

morrysnow 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 5fbd173b947 [fix](compile) compile fail on MacOS because 
'bits/types/struct_timespec.h' not found (#39567)
5fbd173b947 is described below

commit 5fbd173b94716e21e6ba2561e37ae2372032f486
Author: 神技圈子 <[email protected]>
AuthorDate: Fri Aug 23 21:17:17 2024 +0800

    [fix](compile) compile fail on MacOS because 'bits/types/struct_timespec.h' 
not found (#39567)
    
    macos compilation in doris/be/src/runtime/fragment_mgr.cpp reports fatal
    error: 'bits/types/struct_timespec.h' file not found
    
    
    Co-authored-by: 宋光璠 <[email protected]>
---
 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 58bd2681ea7..32b7dcbcbb2 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/internal_service.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 <unistd.h>
 
 #include <algorithm>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to