diff options
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r-- | sys/kern/sys_process.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 45c1e2f77af..55554087a5a 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_process.c,v 1.35 2006/05/18 21:27:24 miod Exp $ */ +/* $OpenBSD: sys_process.c,v 1.36 2006/07/19 18:38:42 grunk Exp $ */ /* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */ /*- @@ -67,6 +67,7 @@ #include <machine/reg.h> +#ifdef PTRACE /* * Process debugging system call. */ @@ -547,6 +548,7 @@ sys_ptrace(struct proc *p, void *v, register_t *retval) #endif return 0; } +#endif /* PTRACE */ /* * Check if a process is allowed to fiddle with the memory of another. |