I bet pinski knows why g++ accepts this stuff


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25022 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Bytecode/Reader/Analyzer.cpp b/lib/Bytecode/Reader/Analyzer.cpp
index 4990761..0152104 100644
--- a/lib/Bytecode/Reader/Analyzer.cpp
+++ b/lib/Bytecode/Reader/Analyzer.cpp
@@ -25,6 +25,7 @@
 #include "llvm/Assembly/Writer.h"
 #include <iomanip>
 #include <sstream>
+#include <ios>
 
 using namespace llvm;
 
diff --git a/lib/Bytecode/Reader/ReaderWrappers.cpp b/lib/Bytecode/Reader/ReaderWrappers.cpp
index 1ee2718..1ea5c02 100644
--- a/lib/Bytecode/Reader/ReaderWrappers.cpp
+++ b/lib/Bytecode/Reader/ReaderWrappers.cpp
@@ -21,6 +21,8 @@
 #include "llvm/System/MappedFile.h"
 #include <cerrno>
 #include <iostream>
+#include <memory>
+
 using namespace llvm;
 
 //===----------------------------------------------------------------------===//