[libcxx] r217001 - Fix yet another aspect of the build breakage caused by r216949

Jonathan Roelofs jonathan at codesourcery.com
Tue Sep 2 17:29:02 PDT 2014


Author: jroelofs
Date: Tue Sep  2 19:29:02 2014
New Revision: 217001

URL: http://llvm.org/viewvc/llvm-project?rev=217001&view=rev
Log:
Fix yet another aspect of the build breakage caused by r216949

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=217001&r1=217000&r2=217001&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Tue Sep  2 19:29:02 2014
@@ -19,6 +19,10 @@
 #define _GNUC_VER (__GNUC__ * 100 + __GNUC_MINOR__)
 #endif
 
+#if !_WIN32
+#include <unistd.h>
+#endif
+
 #define _LIBCPP_VERSION 1101
 
 #define _LIBCPP_ABI_VERSION 1





More information about the cfe-commits mailing list