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 | 659e5c4bc92ae488bfe42eb9331ea37281a87bf4 (patch) | |
| tree | a558bd19890aee0f7594703ba7bdcf8bffad7229 /llvm/lib/Support/MemoryBuffer.cpp | |
| parent | 0255998dcfa494a294c1eb591de12c25fe0cffa7 (diff) | |
| download | llvm-659e5c4bc92ae488bfe42eb9331ea37281a87bf4.zip llvm-659e5c4bc92ae488bfe42eb9331ea37281a87bf4.tar.gz llvm-659e5c4bc92ae488bfe42eb9331ea37281a87bf4.tar.bz2 | |
fcntl.h is pretty standard on unix (without the sys/)
llvm-svn: 50475
Diffstat (limited to 'llvm/lib/Support/MemoryBuffer.cpp')
| -rw-r--r-- | llvm/lib/Support/MemoryBuffer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Support/MemoryBuffer.cpp b/llvm/lib/Support/MemoryBuffer.cpp index b170ea7..9c2eb42 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; //===----------------------------------------------------------------------===// |
