From 33e396d0414d190665734a327400fa1c3005288c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 29 May 2008 21:46:33 +0000 Subject: Remove more iostream header includes. Needed to implement a "FlushStream" function to flush a specified std::ostream. llvm-svn: 51705 --- llvm/lib/System/Unix/Program.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/System/Unix') diff --git a/llvm/lib/System/Unix/Program.inc b/llvm/lib/System/Unix/Program.inc index d0dade1f8ca..182e14db096 100644 --- a/llvm/lib/System/Unix/Program.inc +++ b/llvm/lib/System/Unix/Program.inc @@ -17,8 +17,8 @@ //===----------------------------------------------------------------------===// #include +#include #include "Unix.h" -#include #if HAVE_SYS_STAT_H #include #endif @@ -210,8 +210,8 @@ Program::ExecuteAndWait(const Path& path, } // Make sure stderr and stdout have been flushed - std::cerr << std::flush; - std::cout << std::flush; + cerr.flush(); + cout.flush(); fsync(1); fsync(2); -- cgit v1.2.3