summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/CodeGen/LiveInterval.h1
-rw-r--r--llvm/include/llvm/CodeGen/MachineInstr.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveInterval.h b/llvm/include/llvm/CodeGen/LiveInterval.h
index 03a0f579be3..8181a2093d4 100644
--- a/llvm/include/llvm/CodeGen/LiveInterval.h
+++ b/llvm/include/llvm/CodeGen/LiveInterval.h
@@ -26,6 +26,7 @@
#include <iosfwd>
#include <vector>
#include <cassert>
+#include <ostream>
namespace llvm {
class MRegisterInfo;
diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h
index daa3974ae40..181a6414a61 100644
--- a/llvm/include/llvm/CodeGen/MachineInstr.h
+++ b/llvm/include/llvm/CodeGen/MachineInstr.h
@@ -22,6 +22,7 @@
#include <vector>
#include <cassert>
#include <iosfwd>
+#include <ostream>
namespace llvm {
OpenPOWER on IntegriCloud