summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-ptrace_h
blob: c46bb7d7ab9a6adaa7593a1a6532c0b9cd385101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- strace-4.11.orig/ptrace.h	2015-12-17 18:56:48.000000000 +0100
+++ strace-4.11/ptrace.h	2016-04-24 21:28:59.689052020 +0200
@@ -52,7 +52,9 @@ extern long ptrace(int, int, char *, lon
 # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
 #endif
 
+#define pt_regs uapi_pt_regs
 #include <linux/ptrace.h>
+#undef pt_regs
 
 #ifdef HAVE_STRUCT_IA64_FPREG
 # undef ia64_fpreg