psmisc/psmisc-22.6-peekfd64.patch

13 lines
633 B
Diff

diff -up psmisc-22.6/configure.ac.peekfd64 psmisc-22.6/configure.ac
--- psmisc-22.6/configure.ac.peekfd64 2007-12-03 13:23:34.000000000 +0100
+++ psmisc-22.6/configure.ac 2007-12-03 13:23:52.000000000 +0100
@@ -67,7 +67,7 @@ AC_CHECK_MEMBERS([struct user_regs_struc
struct user_regs_struct.rax,
struct user_regs_struct.rdi,
struct user_regs_struct.rsi,
- struct user_regs_struct.rdx], [],[], [#include <sys/user.h>])
+ struct user_regs_struct.rdx], [],[], [#include <linux/user.h>])
AC_CHECK_MEMBERS([struct pt_regs.orig_gpr3,
struct pt_regs.gpr], [],[], [#include <linux/ptrace.h>])
AM_CONDITIONAL(WANT_PEEKFD_I386,