summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/MemoryBuffer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Support/MemoryBuffer.cpp b/lib/Support/MemoryBuffer.cpp
index b170ea7267..9c2eb42443 100644
--- a/lib/Support/MemoryBuffer.cpp
+++ b/lib/Support/MemoryBuffer.cpp
@@ -26,11 +26,10 @@
#if !defined(_MSC_VER) && !defined(__MINGW32__)
#include <unistd.h>
#include <sys/uio.h>
-#include <sys/fcntl.h>
#else
#include <io.h>
-#include <fcntl.h>
#endif
+#include <fcntl.h>
using namespace llvm;
//===----------------------------------------------------------------------===//