#include <stdint.h>
#include <sys/types.h>
+#include <sys/ucontext.h>
#include <unistd.h>
#include <list>
// A list of <MappingInfo, GUID>
typedef std::list<MappingEntry> MappingList;
+#if defined(__aarch64__)
+typedef struct fpsimd_context fpstate_t;
+#elif !defined(__ARM_EABI__) && !defined(__mips__)
+typedef struct _libc_fpstate fpstate_t;
+#endif
+
// These entries store a list of memory regions that the client wants included
// in the minidump.
struct AppMemory {