valgrind: avoid including linux/ptrace.h to fix a musl build error
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41054
This commit is contained in:
parent
ad97acf46a
commit
c1927d2109
1 changed files with 10 additions and 0 deletions
10
package/devel/valgrind/patches/120-no_linux_ptrace_h.patch
Normal file
10
package/devel/valgrind/patches/120-no_linux_ptrace_h.patch
Normal 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
|
||||
|
Loading…
Reference in a new issue