diff options
Diffstat (limited to 'llvm/lib/System/Unix')
-rw-r--r-- | llvm/lib/System/Unix/Program.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/System/Unix/Program.inc b/llvm/lib/System/Unix/Program.inc index 182e14db096..d0dade1f8ca 100644 --- a/llvm/lib/System/Unix/Program.inc +++ b/llvm/lib/System/Unix/Program.inc @@ -17,8 +17,8 @@ //===----------------------------------------------------------------------===// #include <llvm/Config/config.h> -#include <llvm/Support/Streams.h> #include "Unix.h" +#include <iostream> #if HAVE_SYS_STAT_H #include <sys/stat.h> #endif @@ -210,8 +210,8 @@ Program::ExecuteAndWait(const Path& path, } // Make sure stderr and stdout have been flushed - cerr.flush(); - cout.flush(); + std::cerr << std::flush; + std::cout << std::flush; fsync(1); fsync(2); |