summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/lib/Support/MemoryBuffer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/MemoryBuffer.cpp b/llvm/lib/Support/MemoryBuffer.cpp
index b170ea72670..9c2eb424431 100644
--- a/llvm/lib/Support/MemoryBuffer.cpp
+++ b/llvm/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;
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud