[llvm] 57c6012 - Add missing <ctime> include

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 23 05:30:45 PST 2022


Author: serge-sans-paille
Date: 2022-02-23T14:30:33+01:00
New Revision: 57c6012213b50804ed78530b89bae30c0ee4fe82

URL: https://github.com/llvm/llvm-project/commit/57c6012213b50804ed78530b89bae30c0ee4fe82
DIFF: https://github.com/llvm/llvm-project/commit/57c6012213b50804ed78530b89bae30c0ee4fe82.diff

LOG: Add missing <ctime> include

As a follow-up to eb4c8608115c1c9af0fc8cb5b1e9f2bc960014ef
Should fix http://45.33.8.238/win/53749/step_4.txt

Related to https://reviews.llvm.org/D120195

Added: 
    

Modified: 
    llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp b/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
index 73106c2195ad3..5ff84ca23cbd4 100644
--- a/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
+++ b/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
@@ -26,6 +26,8 @@
 #include "llvm/Support/Path.h"
 #include "llvm/Support/xxhash.h"
 
+#include <ctime>
+
 using namespace llvm;
 using namespace llvm::codeview;
 using namespace llvm::msf;


        


More information about the llvm-commits mailing list