aboutsummaryrefslogtreecommitdiff
path: root/linux-user/host/arm/hostdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/host/arm/hostdep.h')
-rw-r--r--linux-user/host/arm/hostdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/host/arm/hostdep.h b/linux-user/host/arm/hostdep.h
index 5c1ae60..9276fe6 100644
--- a/linux-user/host/arm/hostdep.h
+++ b/linux-user/host/arm/hostdep.h
@@ -24,7 +24,7 @@ extern char safe_syscall_end[];
/* Adjust the signal context to rewind out of safe-syscall if we're in it */
static inline void rewind_if_in_safe_syscall(void *puc)
{
- struct ucontext *uc = puc;
+ ucontext_t *uc = puc;
unsigned long *pcreg = &uc->uc_mcontext.arm_pc;
if (*pcreg > (uintptr_t)safe_syscall_start