commit | 40c174b38b15adb059f3e855e24fcfea9e091a87 | [log] [tgz] |
---|---|---|
author | Maarten ter Huurne <maarten@treewalker.org> | Mon Oct 20 01:02:48 2014 +0200 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Fri Oct 31 23:04:59 2014 +0000 |
tree | 9a961a9d307f03aa7da6db7b6ad88cfa90a49c6f | |
parent | 788c0d660d91032d6ce4ac646d86b20dc56e11ea [diff] |
Include <linux/ptrace.h> regardless of <sys/reg.h> existence This fixes compilation with musl libc. This approach was already used in process.c, so I assume it is safe. * signal.c: Move [HAVE_LINUX_PTRACE_H] code out of [HAVE_SYS_REG_H] check. * syscall.c: Likewise. * util.c: Likewise. Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>