diff options
author | 2014-10-16 23:05:10 -0700 | |
---|---|---|
committer | 2014-10-16 23:05:10 -0700 | |
commit | ad69bcda06ecc4dadd6cd037e929e236a13780d3 (patch) | |
tree | adb6bac5289bf264f47535135bf6a1a3797c2a60 | |
parent | fb0566b28a0453bc5605db8abd521c22038c6a7f (diff) |
Fix Mac build.
Not sure how this built on Linux, the correct type is siginfo_t and
we use that correctly elsewhere.
Change-Id: I44ddc77e11558337342c1448553a16c7db231a66
-rw-r--r-- | runtime/instruction_set.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/instruction_set.cc b/runtime/instruction_set.cc index b5f85719a0..0ca32fe705 100644 --- a/runtime/instruction_set.cc +++ b/runtime/instruction_set.cc @@ -16,6 +16,7 @@ #include "instruction_set.h" +#include <signal.h> #include <fstream> #include "base/casts.h" @@ -430,7 +431,7 @@ const ArmInstructionSetFeatures* ArmInstructionSetFeatures::FromHwcap() { // A signal handler called by a fault for an illegal instruction. We record the fact in r0 // and then increment the PC in the signal context to return to the next instruction. We know the // instruction is an sdiv (4 bytes long). -static void bad_divide_inst_handle(int signo, siginfo *si, void *data) { +static void bad_divide_inst_handle(int signo, siginfo_t* si, void* data) { UNUSED(signo); UNUSED(si); #if defined(__arm__) |