summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-signal_c
blob: 27e3d0d770f8c8ac89d24dcc55b975893c4fa03b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- strace-4.8.orig/signal.c	2013-05-23 15:41:23.000000000 +0200
+++ strace-4.8/signal.c	2013-09-13 16:20:20.000000000 +0200
@@ -61,6 +61,7 @@
 #endif
 
 #if defined(SPARC) || defined(SPARC64) || defined(MIPS)
+#include <asm/ptrace.h>
 typedef struct {
 	struct pt_regs		si_regs;
 	int			si_mask;
@@ -815,7 +816,7 @@ sys_sigreturn(struct tcb *tcp)
 {
 #if defined(ARM)
 	if (entering(tcp)) {
-		struct sigcontext_struct sc;
+		struct sigcontext sc;
 		sigset_t sigm;
 		if (umove(tcp, arm_regs.ARM_sp, &sc) < 0)
 			return 0;