[llvm-commits] [llvm] r142623 - /llvm/trunk/lib/Support/MemoryBuffer.cpp

David Meyer pdox at google.com
Thu Oct 20 14:57:46 PDT 2011


Author: pdox
Date: Thu Oct 20 16:57:46 2011
New Revision: 142623

URL: http://llvm.org/viewvc/llvm-project?rev=142623&view=rev
Log:
Remove unused include of sys/uio.h in MemoryBuffer.cpp. It was not correctly protected by ifdef either.

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=142623&r1=142622&r2=142623&view=diff
==============================================================================
--- llvm/trunk/lib/Support/MemoryBuffer.cpp (original)
+++ llvm/trunk/lib/Support/MemoryBuffer.cpp Thu Oct 20 16:57:46 2011
@@ -29,7 +29,6 @@
 #include <sys/stat.h>
 #if !defined(_MSC_VER) && !defined(__MINGW32__)
 #include <unistd.h>
-#include <sys/uio.h>
 #else
 #include <io.h>
 #endif





More information about the llvm-commits mailing list