From: Chris Lattner Date: Tue, 23 Nov 2010 21:53:15 +0000 (+0000) Subject: hopefully resolve the windows buildbot issue (retch) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=291fcf02980be85cf13c8a63bb036a19012311df;p=clang hopefully resolve the windows buildbot issue (retch) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120061 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Basic/FileManager.cpp b/lib/Basic/FileManager.cpp index 27a4dfe544..00c449e197 100644 --- a/lib/Basic/FileManager.cpp +++ b/lib/Basic/FileManager.cpp @@ -28,6 +28,14 @@ #include #include #include + +// FIXME: This is terrible, we need this for ::close. +#if !defined(_MSC_VER) && !defined(__MINGW32__) +#include +#include +#else +#include +#endif using namespace clang; // FIXME: Enhance libsystem to support inode and other fields.