fcntl.h is pretty standard on unix (without the sys/)
authorGabor Greif <ggreif@gmail.com>
Wed, 30 Apr 2008 08:53:22 +0000 (08:53 +0000)
committerGabor Greif <ggreif@gmail.com>
Wed, 30 Apr 2008 08:53:22 +0000 (08:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50475 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/MemoryBuffer.cpp

index b170ea72670c20831e6e9fc40664e1263cf09609..9c2eb4244319f1cc0f08025bc9515d9f22461e2a 100644 (file)
 #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;
 
 //===----------------------------------------------------------------------===//