Unbreak build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51709 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2008-05-29 22:02:08 +00:00
parent 81fb27cc3a
commit 6445537c84

View File

@ -17,8 +17,8 @@
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#include <llvm/Config/config.h> #include <llvm/Config/config.h>
#include <llvm/Support/Streams.h>
#include "Unix.h" #include "Unix.h"
#include <iostream>
#if HAVE_SYS_STAT_H #if HAVE_SYS_STAT_H
#include <sys/stat.h> #include <sys/stat.h>
#endif #endif
@ -210,8 +210,8 @@ Program::ExecuteAndWait(const Path& path,
} }
// Make sure stderr and stdout have been flushed // Make sure stderr and stdout have been flushed
cerr.flush(); std::cerr << std::flush;
cout.flush(); std::cout << std::flush;
fsync(1); fsync(1);
fsync(2); fsync(2);