[compiler-rt] 4d9cc7c - Add a couple of missing includes

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 8 17:54:12 PDT 2021


Author: David Blaikie
Date: 2021-06-08T17:53:58-07:00
New Revision: 4d9cc7c244e7fe2ce60202f1a7174109efb92504

URL: https://github.com/llvm/llvm-project/commit/4d9cc7c244e7fe2ce60202f1a7174109efb92504
DIFF: https://github.com/llvm/llvm-project/commit/4d9cc7c244e7fe2ce60202f1a7174109efb92504.diff

LOG: Add a couple of missing includes

Added: 
    

Modified: 
    compiler-rt/lib/orc/c_api.h
    compiler-rt/lib/orc/stl_extras.h

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/orc/c_api.h b/compiler-rt/lib/orc/c_api.h
index 0bfc7b6597e1..6da616c869aa 100644
--- a/compiler-rt/lib/orc/c_api.h
+++ b/compiler-rt/lib/orc/c_api.h
@@ -19,6 +19,7 @@
 
 #include <assert.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 
 /* Helper to suppress strict prototype warnings. */

diff  --git a/compiler-rt/lib/orc/stl_extras.h b/compiler-rt/lib/orc/stl_extras.h
index 5af9de4a9dbb..ad7286e87ae3 100644
--- a/compiler-rt/lib/orc/stl_extras.h
+++ b/compiler-rt/lib/orc/stl_extras.h
@@ -14,6 +14,7 @@
 #define ORC_RT_STL_EXTRAS_H
 
 #include <utility>
+#include <tuple>
 
 namespace __orc_rt {
 


        


More information about the llvm-commits mailing list