strace: update to version 2.26
[openwrt/openwrt.git] / package / devel / strace / patches / 100-workaround--pt-reg-collisions-ppc.patch
1 --- a/ptrace.h
2 +++ b/ptrace.h
3 @@ -30,7 +30,14 @@
4 # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
5 #endif
6
7 +#if POWERPC
8 +#include <linux/types.h>
9 +#define __ASSEMBLY__
10 +#endif
11 #include <linux/ptrace.h>
12 +#if POWERPC
13 +#undef __ASSEMBLY__
14 +#endif
15
16 #ifdef HAVE_STRUCT_IA64_FPREG
17 # undef ia64_fpreg