aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Bytecode/WriteBytecodePass.h1
-rw-r--r--lib/VMCore/Constants.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Bytecode/WriteBytecodePass.h b/include/llvm/Bytecode/WriteBytecodePass.h
index 3e6d7fef71..ffb0e9af3c 100644
--- a/include/llvm/Bytecode/WriteBytecodePass.h
+++ b/include/llvm/Bytecode/WriteBytecodePass.h
@@ -10,6 +10,7 @@
#include "llvm/Pass.h"
#include "llvm/Bytecode/Writer.h"
+#include <iostream>
class WriteBytecodePass : public Pass {
std::ostream *Out; // ostream to print on
diff --git a/lib/VMCore/Constants.cpp b/lib/VMCore/Constants.cpp
index dcce830d16..e918a24855 100644
--- a/lib/VMCore/Constants.cpp
+++ b/lib/VMCore/Constants.cpp
@@ -12,6 +12,7 @@
#include "llvm/SlotCalculator.h"
#include "Support/StringExtras.h"
#include <algorithm>
+#include <iostream>
using std::map;
using std::pair;