[lld] 54ba376 - Add missing include to fix modular build

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 08:33:52 PST 2022


Author: Adrian Prantl
Date: 2022-01-20T08:33:44-08:00
New Revision: 54ba376d0802e74c84d0bf79c0a919c040884398

URL: https://github.com/llvm/llvm-project/commit/54ba376d0802e74c84d0bf79c0a919c040884398
DIFF: https://github.com/llvm/llvm-project/commit/54ba376d0802e74c84d0bf79c0a919c040884398.diff

LOG: Add missing include to fix modular build

Added: 
    

Modified: 
    lld/Common/Timer.cpp

Removed: 
    


################################################################################
diff  --git a/lld/Common/Timer.cpp b/lld/Common/Timer.cpp
index 40fecd8892c18..29838c9720b73 100644
--- a/lld/Common/Timer.cpp
+++ b/lld/Common/Timer.cpp
@@ -9,6 +9,7 @@
 #include "lld/Common/Timer.h"
 #include "lld/Common/ErrorHandler.h"
 #include "llvm/Support/Format.h"
+#include <ratio>
 
 using namespace lld;
 using namespace llvm;


        


More information about the llvm-commits mailing list