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 | |
| parent | 0255998dcfa494a294c1eb591de12c25fe0cffa7 (diff) | |
| download | bcm5719-llvm-659e5c4bc92ae488bfe42eb9331ea37281a87bf4.tar.gz bcm5719-llvm-659e5c4bc92ae488bfe42eb9331ea37281a87bf4.zip | |
fcntl.h is pretty standard on unix (without the sys/)
llvm-svn: 50475
| -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 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; //===----------------------------------------------------------------------===// |

