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

Jonathan Roelofs jonathan at codesourcery.com
Tue Aug 19 11:14:54 PDT 2014


Thanks Eric!

Jon

On 8/19/14, 11:52 AM, Eric Fiselier wrote:
> 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
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>

-- 
Jon Roelofs
jonathan at codesourcery.com
CodeSourcery / Mentor Embedded



More information about the cfe-commits mailing list