openwrt/package/devel/valgrind/patches/120-no_linux_ptrace_h.patch

11 lines
227 B
Diff

--- 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