Unbreak build.

llvm-svn: 51709
This commit is contained in:
Bill Wendling 2008-05-29 22:02:08 +00:00
parent e6f5933e65
commit 9cfdac50f1
1 changed files with 3 additions and 3 deletions

View 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);