aboutsummaryrefslogtreecommitdiffstats
path: root/main/strace/musl-fix-ptrace-include.patch
blob: 6453851df922ea77f54167a80b55c736097908d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<@dalias> basically linux/ptrace.h conflicts with sys/user.h on some archs
<@dalias> and linux/ptrace.h is utterly useless because sys/ptrace.h defines everything needed

diff --git a/ptrace.h b/ptrace.h
index d8af976..425b1e0 100644
--- a/ptrace.h
+++ b/ptrace.h
@@ -52,8 +52,6 @@ extern long ptrace(int, int, char *, long);
 # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
 #endif
 
-#include <linux/ptrace.h>
-
 #ifdef HAVE_STRUCT_IA64_FPREG
 # undef ia64_fpreg
 #endif