summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Davis <bdavis@netgate.com>2022-03-09 10:27:15 -0600
committerDave Watson <dade.watson@gmail.com>2022-03-10 15:37:13 -0800
commite07b43c02d5cf1ea060c018fdf2e2ad34b7c7d80 (patch)
tree04885061d6f78e0294a197d8571be7ef6e940396
parente85b65cec757ef589f28957d0c6c21c498a03bdf (diff)
downloadlibunwind-e07b43c02d5cf1ea060c018fdf2e2ad34b7c7d80.tar.gz
FreeBSD also uses these structs so do not hide them
-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. */