We need iostream in PassManagerT.h to use cerr
llvm-svn: 3183
diff --git a/llvm/lib/VMCore/Pass.cpp b/llvm/lib/VMCore/Pass.cpp
index 39766e3..115aba1 100644
--- a/llvm/lib/VMCore/Pass.cpp
+++ b/llvm/lib/VMCore/Pass.cpp
@@ -12,7 +12,6 @@
#include "Support/STLExtras.h"
#include "Support/TypeInfo.h"
#include <typeinfo>
-#include <iostream>
#include <sys/time.h>
#include <stdio.h>
diff --git a/llvm/lib/VMCore/PassManagerT.h b/llvm/lib/VMCore/PassManagerT.h
index b4155e4..3f2dc76 100644
--- a/llvm/lib/VMCore/PassManagerT.h
+++ b/llvm/lib/VMCore/PassManagerT.h
@@ -18,6 +18,7 @@
#include "llvm/Pass.h"
#include "Support/CommandLine.h"
#include <algorithm>
+#include <iostream>
class Annotable;
//===----------------------------------------------------------------------===//