Skip to content

Commit

Permalink
Add include for missing ucontext64_t type (#4244)
Browse files Browse the repository at this point in the history
* Add include for missing ucontext64_t type

* Fix changelog

---------

Co-authored-by: Dhiogo Brustolin <[email protected]>
  • Loading branch information
tonyarnold and brustolin authored Aug 7, 2024
1 parent bb7da60 commit dc8ab43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Missing mach info for crash reports (#4230)
- Crash reports not generated on visionOS (#4229)
- Don’t force cast to `NSComparisonPredicate` in TERNARY operator (#4232)
- Missing '#include <sys/_types/_ucontext64.h>' (#4244)

### Improvements

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include "SentryAsyncSafeLog.h"

#ifdef __arm64__
#include <sys/_types/_ucontext64.h>
# define UC_MCONTEXT uc_mcontext64
typedef ucontext64_t SignalUserContext;
#else
Expand Down

0 comments on commit dc8ab43

Please sign in to comment.