From 7ab1a3b5cffe938617a6199b3221435c401c16cf Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 8 Jun 2015 02:43:32 +0000 Subject: [PATCH] Fix Windows build. llvm-svn: 239279 --- llvm/lib/Object/ArchiveWriter.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/llvm/lib/Object/ArchiveWriter.cpp b/llvm/lib/Object/ArchiveWriter.cpp index d2c688f89337..90a736f3baf4 100644 --- a/llvm/lib/Object/ArchiveWriter.cpp +++ b/llvm/lib/Object/ArchiveWriter.cpp @@ -24,7 +24,11 @@ #include "llvm/Support/ToolOutputFile.h" #include "llvm/Support/raw_ostream.h" +#if !defined(_MSC_VER) && !defined(__MINGW32__) #include +#else +#include +#endif using namespace llvm;