strace: make this build again.

This commit is contained in:
Juan RP 2014-01-08 18:09:17 +01:00
parent 6d70cb67cc
commit 0d2b9082e1
1 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
Otherwise struct ptrace_peeksiginfo_args is redefined.
--- process.c.orig 2014-01-08 18:07:14.306950549 +0100
+++ process.c 2014-01-08 18:07:19.585917125 +0100
@@ -63,7 +63,7 @@
# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
# define pt_all_user_regs XXX_pt_all_user_regs
# endif
-# include <linux/ptrace.h>
+# include <sys/ptrace.h>
# undef ia64_fpreg
# undef pt_all_user_regs
#endif