From 291fcf02980be85cf13c8a63bb036a19012311df Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 23 Nov 2010 21:53:15 +0000 Subject: hopefully resolve the windows buildbot issue (retch) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120061 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/FileManager.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/Basic/FileManager.cpp') 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. -- cgit v1.2.3