aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Unix/Program.inc
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-05-29 22:02:08 +0000
committerBill Wendling <isanbard@gmail.com>2008-05-29 22:02:08 +0000
commit6445537c848d99484ead0a10386f8a774147ed06 (patch)
tree4e4d5a776c8f74e24ceb9c07b047e1f2ca24aea7 /lib/System/Unix/Program.inc
parent81fb27cc3a2b0c8f30fd9f47180ba8476ad6dae5 (diff)
downloadexternal_llvm-6445537c848d99484ead0a10386f8a774147ed06.tar.gz
external_llvm-6445537c848d99484ead0a10386f8a774147ed06.tar.bz2
external_llvm-6445537c848d99484ead0a10386f8a774147ed06.zip
Unbreak build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Program.inc')
-rw-r--r--lib/System/Unix/Program.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc
index 182e14db09..d0dade1f8c 100644
--- a/lib/System/Unix/Program.inc
+++ b/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);