From ab6e9a44ba8011d537cb71381c2a41a5e3354507 Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Tue, 18 Jan 2022 08:53:57 +0000 Subject: [PATCH] [Chrono] Add missing include . The file uses std::ratio without including the correct header. Previously ratio was indirectly provided through chrono in libc++ but that's not the case any longer. This should fix a build failure with modules enabled: https://green.lab.llvm.org/green/job/clang-stage2-Rthinlto/5185/console --- llvm/include/llvm/Support/Chrono.h | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/include/llvm/Support/Chrono.h b/llvm/include/llvm/Support/Chrono.h index 629a37a..9c2bd45 100644 --- a/llvm/include/llvm/Support/Chrono.h +++ b/llvm/include/llvm/Support/Chrono.h @@ -14,6 +14,7 @@ #include #include +#include namespace llvm { -- 2.7.4