diff options
author | Gabor Greif <ggreif@gmail.com> | 2008-04-30 08:53:22 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2008-04-30 08:53:22 +0000 |
commit | 8811080a65f003127961b98a98d5474ddde6801a (patch) | |
tree | 0ba8c036a644c07c895a7d276c0b11afd0ff71f3 /lib/Support/MemoryBuffer.cpp | |
parent | 0cad8444ccdee98af3b6a718a57a6d566a5cd6e4 (diff) |
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/MemoryBuffer.cpp')
-rw-r--r-- | lib/Support/MemoryBuffer.cpp | 3 |
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; //===----------------------------------------------------------------------===// |