summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-ptrace_h
blob: 930871ea04409f62661e4c0d73f83af16a5d3046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- strace-4.15.orig/ptrace.h	2016-08-30 02:48:36.000000000 +0200
+++ strace-4.15/ptrace.h	2016-12-18 23:14:42.295800537 +0100
@@ -55,7 +55,13 @@ extern long ptrace(int, int, char *, lon
 # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
 #endif
 
+#if defined(POWERPC)
+#define pt_regs uapi_pt_regs
+#endif
 #include <linux/ptrace.h>
+#if defined(POWERPC)
+#undef pt_regs
+#endif
 
 #ifdef HAVE_STRUCT_IA64_FPREG
 # undef ia64_fpreg