summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/ParallelCG.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/ParallelCG.h b/llvm/include/llvm/CodeGen/ParallelCG.h
index 5932f23e2d9..6a04d1e27aa 100644
--- a/llvm/include/llvm/CodeGen/ParallelCG.h
+++ b/llvm/include/llvm/CodeGen/ParallelCG.h
@@ -18,6 +18,8 @@
#include "llvm/Support/CodeGen.h"
#include "llvm/Target/TargetMachine.h"
+#include <functional>
+
namespace llvm {
class Module;
OpenPOWER on IntegriCloud