devel/strace: fix build on mpc85xx target
[lede-git/.git] / package / devel / strace / patches / 100-workaround--pt-reg-collisions-ppc.patch
1 --- a/ptrace.h
2 +++ b/ptrace.h
3 @@ -52,7 +52,10 @@ extern long ptrace(int, int, char *, long);
4  # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
5  #endif
6  
7 +#include <linux/types.h>
8 +#define __ASSEMBLY__
9  #include <linux/ptrace.h>
10 +#undef __ASSEMBLY__
11  
12  #ifdef HAVE_STRUCT_IA64_FPREG
13  # undef ia64_fpreg
14 --