summaryrefslogtreecommitdiff
blob: bb068615232144116083a7608a5ec4b0bf401633 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Fix building of peekfd for x86_64 (from upstream).

--- configure.ac
+++ configure.ac
@@ -66,7 +66,8 @@
 		struct user_regs_struct.rdi,
 		struct user_regs_struct.rsi,
 		struct user_regs_struct.rdx], [],[],
-    [#include <sys/user.h>])
+    [#include <bits/types.h>
+     #include <sys/user.h>])
 AC_CHECK_MEMBERS([struct pt_regs.orig_gpr3,
 		struct pt_regs.gpr], [],[], [#include <linux/ptrace.h>])
 AC_CHECK_MEMBERS([struct pt_regs.uregs],[],[], [#include <asm/ptrace.h>])