valgrind: avoid including linux/ptrace.h to fix a musl build error

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41054 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2014-06-08 11:21:37 +00:00
parent b0caf60f09
commit 9eb6e19424

View File

@@ -0,0 +1,10 @@
--- a/coregrind/vgdb.c
+++ b/coregrind/vgdb.c
@@ -102,7 +102,6 @@ I_die_here : (PTRACEINVOKER) architectur
#include <sys/user.h>
#if defined(VGO_linux)
# include <sys/prctl.h>
-# include <linux/ptrace.h>
#endif
#endif