summaryrefslogtreecommitdiffstats
path: root/libcxx/include/support
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2014-11-25 21:57:41 +0000
committerEric Fiselier <eric@efcs.ca>2014-11-25 21:57:41 +0000
commit53deb607d9b3e47035d71f336b64f02253c46286 (patch)
treeef3818aa3194131494cb205fd1861bf101459e38 /libcxx/include/support
parent6f6c4ff1fc42aced441c752b49bb39529ddfad06 (diff)
downloadbcm5719-llvm-53deb607d9b3e47035d71f336b64f02253c46286.tar.gz
bcm5719-llvm-53deb607d9b3e47035d71f336b64f02253c46286.zip
Fixes to get libc++ building on sun solaris. Patch from C Bergstrom.
llvm-svn: 222794
Diffstat (limited to 'libcxx/include/support')
-rw-r--r--libcxx/include/support/solaris/xlocale.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/support/solaris/xlocale.h b/libcxx/include/support/solaris/xlocale.h
index 875a39add76..6b5b544da27 100644
--- a/libcxx/include/support/solaris/xlocale.h
+++ b/libcxx/include/support/solaris/xlocale.h
@@ -14,6 +14,8 @@
#ifndef __XLOCALE_H_INCLUDED
#define __XLOCALE_H_INCLUDED
+#include <stdlib.h>
+
#ifdef __cplusplus
extern "C" {
#endif
OpenPOWER on IntegriCloud