Fix Windows build.

llvm-svn: 239279
This commit is contained in:
Peter Collingbourne 2015-06-08 02:43:32 +00:00
parent fd66a48a75
commit 7ab1a3b5cf
1 changed files with 4 additions and 0 deletions

View File

@ -24,7 +24,11 @@
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/Support/raw_ostream.h"
#if !defined(_MSC_VER) && !defined(__MINGW32__)
#include <unistd.h>
#else
#include <io.h>
#endif
using namespace llvm;