valgrind: avoid including linux/ptrace.h to fix a musl build error
[openwrt.git] / package / devel / valgrind / patches / 120-no_linux_ptrace_h.patch
1 --- a/coregrind/vgdb.c
2 +++ b/coregrind/vgdb.c
3 @@ -102,7 +102,6 @@ I_die_here : (PTRACEINVOKER) architectur
4  #include <sys/user.h>
5  #if defined(VGO_linux)
6  #  include <sys/prctl.h>
7 -#  include <linux/ptrace.h>
8  #endif
9  #endif
10