[libcxx] r215998 - fix missing include for ::close in platform_support.h

Eric Fiselier eric at efcs.ca
Tue Aug 19 10:52:40 PDT 2014


Author: ericwf
Date: Tue Aug 19 12:52:40 2014
New Revision: 215998

URL: http://llvm.org/viewvc/llvm-project?rev=215998&view=rev
Log:
fix missing include for ::close in platform_support.h

Modified:
    libcxx/trunk/test/support/platform_support.h

Modified: libcxx/trunk/test/support/platform_support.h
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/platform_support.h?rev=215998&r1=215997&r2=215998&view=diff
==============================================================================
--- libcxx/trunk/test/support/platform_support.h (original)
+++ libcxx/trunk/test/support/platform_support.h Tue Aug 19 12:52:40 2014
@@ -44,6 +44,8 @@
 #include <string>
 #if defined(_LIBCPP_MSVCRT) || defined(__MINGW32__)
 #include <io.h> // _mktemp
+#else
+#include <unistd.h> // close
 #endif
 
 inline





More information about the cfe-commits mailing list