summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-09-20 18:28:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-09-20 18:28:01 +0000
commitb54dbc56ee908d1d0ca3736a7d09129eba11db9e (patch)
tree841ab44ce61a83f35e2ac04cfb1a3929b7eaa80f
parentc952bf7848f8246d4c3e97110312686359fb76d0 (diff)
When _LIBUNWIND_ARM_EHABI is defined, include <link.h> to get the
dl_unwind_find_exidx prototype. ok guenther@
-rw-r--r--lib/libunwind/src/AddressSpace.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libunwind/src/AddressSpace.hpp b/lib/libunwind/src/AddressSpace.hpp
index a691c36438d..56c89e8dfe8 100644
--- a/lib/libunwind/src/AddressSpace.hpp
+++ b/lib/libunwind/src/AddressSpace.hpp
@@ -37,6 +37,7 @@ namespace libunwind {
#if _LIBUNWIND_ARM_EHABI
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#include <link.h>
typedef void *_Unwind_Ptr;
#elif defined(__linux__)