diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2014-04-03 22:00:08 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2014-04-03 22:00:08 +0000 |
commit | fd0d20fae7b4b55769122b8b38348baec65e8dc9 (patch) | |
tree | dc01e040a38b9550e4337c9f0c0f56853da82184 /libcxxabi/src | |
parent | c4984150869faa5eab6f9fa6df9688d0cbf6042f (diff) | |
download | bcm5719-llvm-fd0d20fae7b4b55769122b8b38348baec65e8dc9.tar.gz bcm5719-llvm-fd0d20fae7b4b55769122b8b38348baec65e8dc9.zip |
Include stdlib.h for getenv when !NDEBUG.
llvm-svn: 205573
Diffstat (limited to 'libcxxabi/src')
-rw-r--r-- | libcxxabi/src/Unwind/libunwind.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxxabi/src/Unwind/libunwind.cpp b/libcxxabi/src/Unwind/libunwind.cpp index 3ce1b9ee85f..03d7966f310 100644 --- a/libcxxabi/src/Unwind/libunwind.cpp +++ b/libcxxabi/src/Unwind/libunwind.cpp @@ -316,6 +316,7 @@ void _unw_remove_dynamic_fde(unw_word_t fde) { // Add logging hooks in Debug builds only #ifndef NDEBUG +#include <stdlib.h> _LIBUNWIND_HIDDEN bool logAPIs() { |