Index: src/platform-linux.cc |
diff --git a/src/platform-linux.cc b/src/platform-linux.cc |
index fbcad8f6d161063fbbe280b3a242de2fe887e661..b35cd2845499180134e79170b42f36e42ff21ff7 100644 |
--- a/src/platform-linux.cc |
+++ b/src/platform-linux.cc |
@@ -53,7 +53,8 @@ |
// GLibc on ARM defines mcontext_t has a typedef for 'struct sigcontext'. |
// Old versions of the C library <signal.h> didn't define the type. |
#if defined(__ANDROID__) && !defined(__BIONIC_HAVE_UCONTEXT_T) && \ |
- defined(__arm__) && !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT) |
+ (defined(__arm__) || defined(__aarch64__)) && \ |
+ !defined(__BIONIC_HAVE_STRUCT_SIGCONTEXT) |
#include <asm/sigcontext.h> |
#endif |