aboutsummaryrefslogtreecommitdiff
path: root/wait.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2015-02-13 00:26:38 +0000
committerDmitry V. Levin <ldv@altlinux.org>2015-02-13 18:27:58 +0000
commitfadf379b8e3618585cecad447867af27930ac5e3 (patch)
tree7f4daf65cea8a6d86e5c0c31652180ff2a40f18d /wait.c
parentd8b3404555b9a324610d0caaa0b9237f14605818 (diff)
downloadstrace-fadf379b8e3618585cecad447867af27930ac5e3.tar.gz
Move all ptrace-related macros and declarations from defs.h to ptrace.h
* ptrace.h: New file. * Makefile.am (strace_SOURCES): Add it. * configure.ac (AC_CHECK_HEADERS): Remove linux/ptrace.h and sys/ptrace.h. * defs.h: Do not include <sys/ptrace.h> and <asm/ptrace.h>. Remove definitions of PTRACE_* macros. * process.c: Remove <linux/ptrace.h> workarounds, include "ptrace.h". * signal.c: Likewise. * syscall.c: Likewise. * util.c: Likewise. * strace.c: Include "ptrace.h". * wait.c: Likewise.
Diffstat (limited to 'wait.c')
-rw-r--r--wait.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/wait.c b/wait.c
index ad368d270..08e339769 100644
--- a/wait.c
+++ b/wait.c
@@ -33,6 +33,7 @@
# define W_CONTINUED 0xffff
#endif
+#include "ptrace.h"
#include "xlat/ptrace_events.h"
static int