commit | b11e9e8a48b2512c22682d8c59b7a225be85e053 | [log] [tgz] |
---|---|---|
author | Joerg Sonnenberger <joerg@bec.de> | Thu Apr 03 22:00:08 2014 +0000 |
committer | Joerg Sonnenberger <joerg@bec.de> | Thu Apr 03 22:00:08 2014 +0000 |
tree | 90990dea1d8986cfb15a96a4f104a631af7b7fd3 | |
parent | 4b51c92d708b5be144167e73a9e6af15a323debe [diff] |
Include stdlib.h for getenv when !NDEBUG. git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@205573 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/src/Unwind/libunwind.cpp b/src/Unwind/libunwind.cpp index 3ce1b9e..03d7966 100644 --- a/src/Unwind/libunwind.cpp +++ b/src/Unwind/libunwind.cpp
@@ -316,6 +316,7 @@ // Add logging hooks in Debug builds only #ifndef NDEBUG +#include <stdlib.h> _LIBUNWIND_HIDDEN bool logAPIs() {