blob: 29fee6a2a1098c96fcb9c5d3edc009abeb141400 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Author: Breno Leitao <brenohl@br.ibm.com>
Date: Thu Apr 6 14:03:00 2017 -0300
peekfd: Avoid pt_regs clash
Index: psmisc-22.21/src/peekfd.c
===================================================================
--- a/src/peekfd.c.old
+++ b/src/peekfd.c
@@ -27,7 +27,9 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/syscall.h>
+#define pt_regs uapi_pt_regs
#include <asm/ptrace.h>
+#undef pt_regs
#include <byteswap.h>
#include <endian.h>
#include <sys/user.h>
|