summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libunwind-aarch64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libunwind-aarch64.h b/include/libunwind-aarch64.h
index 5327d976..2a9baabf 100644
--- a/include/libunwind-aarch64.h
+++ b/include/libunwind-aarch64.h
@@ -183,7 +183,7 @@ typedef struct unw_tdep_save_loc
}
unw_tdep_save_loc_t;
-#ifdef __linux__
+#if defined(__linux__) || defined(__FreeBSD__)
/* On AArch64, we can directly use ucontext_t as the unwind context,
* however, the __reserved struct is quite large: tune it down to only
* the necessary used fields. */