[llvm-commits] [llvm] r50475 - /llvm/trunk/lib/Support/MemoryBuffer.cpp
Gabor Greif
ggreif at gmail.com
Wed Apr 30 01:53:22 PDT 2008
Author: ggreif
Date: Wed Apr 30 03:53:22 2008
New Revision: 50475
URL: http://llvm.org/viewvc/llvm-project?rev=50475&view=rev
Log:
fcntl.h is pretty standard on unix (without the sys/)
Modified:
llvm/trunk/lib/Support/MemoryBuffer.cpp
Modified: llvm/trunk/lib/Support/MemoryBuffer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/MemoryBuffer.cpp?rev=50475&r1=50474&r2=50475&view=diff
==============================================================================
--- llvm/trunk/lib/Support/MemoryBuffer.cpp (original)
+++ llvm/trunk/lib/Support/MemoryBuffer.cpp Wed Apr 30 03:53:22 2008
@@ -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;
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list