[llvm-commits] [llvm] r49381 - /llvm/branches/ggreif/use-diet/lib/Support/MemoryBuffer.cpp
Gabor Greif
ggreif at gmail.com
Tue Apr 8 07:51:33 PDT 2008
Author: ggreif
Date: Tue Apr 8 09:51:31 2008
New Revision: 49381
URL: http://llvm.org/viewvc/llvm-project?rev=49381&view=rev
Log:
unbreak solaris build: fcntl.h is standard
Modified:
llvm/branches/ggreif/use-diet/lib/Support/MemoryBuffer.cpp
Modified: llvm/branches/ggreif/use-diet/lib/Support/MemoryBuffer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/ggreif/use-diet/lib/Support/MemoryBuffer.cpp?rev=49381&r1=49380&r2=49381&view=diff
==============================================================================
--- llvm/branches/ggreif/use-diet/lib/Support/MemoryBuffer.cpp (original)
+++ llvm/branches/ggreif/use-diet/lib/Support/MemoryBuffer.cpp Tue Apr 8 09:51:31 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