Fix a warning about undeclared call to abort().
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@212232 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/src/Unwind/config.h b/src/Unwind/config.h
index 6f0d1cf..6b459ee 100644
--- a/src/Unwind/config.h
+++ b/src/Unwind/config.h
@@ -58,13 +58,15 @@
#endif
#else
- // ARM EHABI.
+ #include <stdlib.h>
+
static inline void assert_rtn(const char* func, const char* file, int line, const char* msg) __attribute__ ((noreturn));
static inline void assert_rtn(const char* func, const char* file, int line, const char* msg) {
fprintf(stderr, "libunwind: %s %s:%d - %s\n", func, file, line, msg);
assert(false);
abort();
}
+
#define _LIBUNWIND_BUILD_ZERO_COST_APIS (__i386__ || __x86_64__ || __arm64__ || __arm__)
#define _LIBUNWIND_BUILD_SJLJ_APIS 0
#define _LIBUNWIND_SUPPORT_FRAME_APIS (__i386__ || __x86_64__)