Unbreak build.
authorBill Wendling <isanbard@gmail.com>
Thu, 29 May 2008 22:02:08 +0000 (22:02 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 29 May 2008 22:02:08 +0000 (22:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51709 91177308-0d34-0410-b5e6-96231b3b80d8

lib/System/Unix/Program.inc

index 182e14db096f00265696b1a28ced48679e6dd0ee..d0dade1f8cadc2467e5c0c988a388d4a82f509cf 100644 (file)
@@ -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);