patch-util_c 343 B

123456789101112
  1. --- strace-4.8.orig/util.c 2013-05-06 20:23:01.000000000 +0200
  2. +++ strace-4.8/util.c 2014-03-07 15:34:01.074036954 +0100
  3. @@ -55,7 +55,9 @@
  4. # ifdef HAVE_STRUCT_PT_ALL_USER_REGS
  5. # define pt_all_user_regs XXX_pt_all_user_regs
  6. # endif
  7. +#if !defined(SH)
  8. # include <linux/ptrace.h>
  9. +#endif
  10. # undef ia64_fpreg
  11. # undef pt_all_user_regs
  12. #endif