diff --git a/core/base/inc/Riostream.h b/core/base/inc/Riostream.h index f3dde24587bc8..c0d673272951b 100644 --- a/core/base/inc/Riostream.h +++ b/core/base/inc/Riostream.h @@ -21,6 +21,12 @@ // // ////////////////////////////////////////////////////////////////////////// +#ifdef __APPLE__ +// Workaround for https://github.com/llvm/llvm-project/issues/138683 +// Include before to ensure _FilesystemClock is defined +// Can be removed once the upstream issue is fixed. +#include +#endif #include #include #include