Commit [0b4060] Maximize Restore History

Work around conflict between <sys/ptrace.h> and <linux/ptrace.h>

Since glibc-2.18~39 <sys/ptrace.h> defines ptrace_peeksiginfo_args
which collides with <linux/ptrace.h>.

* configure.ac: Check for `struct ptrace_peeksiginfo_args' in
<sys/ptrace.h>.
* process.c: Work around potential conflict between <sys/ptrace.h>
and <linux/ptrace.h> by redefining ptrace_peeksiginfo_args.
* signal.c: Likewise.
* syscall.c: Likewise.
* util.c: Likewise.

Signed-off-by: Ali Polatel <alip@exherbo.org>

Ali Polatel Ali Polatel 2013-09-24

Dmitry V. Levin Dmitry V. Levin 2013-09-26

changed configure.ac
changed process.c
changed signal.c
changed syscall.c
changed util.c
configure.ac Diff Switch to side-by-side view
Loading...
process.c Diff Switch to side-by-side view
Loading...
signal.c Diff Switch to side-by-side view
Loading...
syscall.c Diff Switch to side-by-side view
Loading...
util.c Diff Switch to side-by-side view
Loading...