[libcxx] r217146 - Define ELAST in libcxx's config header on FreeBSD

Viktor Kutuzov vkutuzov at accesssoftek.com
Thu Sep 4 06:25:46 PDT 2014


Author: vkutuzov
Date: Thu Sep  4 08:25:46 2014
New Revision: 217146

URL: http://llvm.org/viewvc/llvm-project?rev=217146&view=rev
Log:
Define ELAST in libcxx's config header on FreeBSD
Differential Revision: http://reviews.llvm.org/D5165

Modified:
    libcxx/trunk/include/__config

Modified: libcxx/trunk/include/__config
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/__config?rev=217146&r1=217145&r2=217146&view=diff
==============================================================================
--- libcxx/trunk/include/__config (original)
+++ libcxx/trunk/include/__config Thu Sep  4 08:25:46 2014
@@ -21,6 +21,7 @@
 
 #if !_WIN32
 #include <unistd.h>
+#include <errno.h>  // for ELAST on FreeBSD
 #endif
 
 #define _LIBCPP_VERSION 1101





More information about the cfe-commits mailing list