diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index f11d43eafba..6aa085bc83d 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -28,9 +28,9 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallPtrSet.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Streams.h" #include "llvm/Config/config.h" #include -#include #include using namespace llvm; @@ -209,7 +209,7 @@ namespace { } void CppWriter::error(const std::string& msg) { - std::cerr << progname << ": " << msg << "\n"; + cerr << progname << ": " << msg << "\n"; exit(2); }