summaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-04-30 08:53:22 +0000
committerGabor Greif <ggreif@gmail.com>2008-04-30 08:53:22 +0000
commit8811080a65f003127961b98a98d5474ddde6801a (patch)
tree0ba8c036a644c07c895a7d276c0b11afd0ff71f3 /lib/Support
parent0cad8444ccdee98af3b6a718a57a6d566a5cd6e4 (diff)
downloadllvm-8811080a65f003127961b98a98d5474ddde6801a.tar.gz
llvm-8811080a65f003127961b98a98d5474ddde6801a.tar.bz2
llvm-8811080a65f003127961b98a98d5474ddde6801a.tar.xz
fcntl.h is pretty standard on unix (without the sys/)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50475 91177308-0d34-0410-b5e6-96231b3b80d8
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;
//===----------------------------------------------------------------------===//