summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2014-09-03 00:29:02 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2014-09-03 00:29:02 +0000
commit112237b4767be115ca3ce4bfea380dae77fb1ad3 (patch)
tree8ddde6a5a24f894052c1f65261da1d8b3856e046 /libcxx
parent85f2692d2fc2c434e24d2af8ab770b41be63978f (diff)
downloadbcm5719-llvm-112237b4767be115ca3ce4bfea380dae77fb1ad3.tar.gz
bcm5719-llvm-112237b4767be115ca3ce4bfea380dae77fb1ad3.zip
Fix yet another aspect of the build breakage caused by r216949
llvm-svn: 217001
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/include/__config4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index ab066d88993..afef5936cbc 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -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
OpenPOWER on IntegriCloud