psmisc/psmisc-22.6-types.patch
Tomas Smetana 51f7118672 - fix configure.ac to include all the required headers for peekfd
- remove kernel-headers again -- not needed in rawhide
2008-04-07 10:34:10 +00:00

14 lines
652 B
Diff

diff -up psmisc-22.6/configure.ac.types psmisc-22.6/configure.ac
--- psmisc-22.6/configure.ac.types 2008-04-07 12:21:50.000000000 +0200
+++ psmisc-22.6/configure.ac 2008-04-07 12:22:14.000000000 +0200
@@ -67,7 +67,8 @@ 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 <sys/types.h>
+ #include <sys/user.h>])
AC_CHECK_MEMBERS([struct pt_regs.orig_gpr3,
struct pt_regs.gpr], [],[], [#include <linux/ptrace.h>])
AM_CONDITIONAL(WANT_PEEKFD_I386,