summaryrefslogtreecommitdiff
path: root/libcxxabi
diff options
context:
space:
mode:
Diffstat (limited to 'libcxxabi')
-rw-r--r--libcxxabi/test/forced_unwind4.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxxabi/test/forced_unwind4.pass.cpp b/libcxxabi/test/forced_unwind4.pass.cpp
index 0d22657f6cf2..2864426ca16d 100644
--- a/libcxxabi/test/forced_unwind4.pass.cpp
+++ b/libcxxabi/test/forced_unwind4.pass.cpp
@@ -13,6 +13,8 @@
// the child_thread. This test ensures sigretrun is handled correctly (see:
// UnwindCursor<A, R>::setInfoForSigReturn).
+#include <cstdlib> // defines __BIONIC__
+
// Android/Bionic does not support pthread_cancel.
#ifdef __BIONIC__
int main() {