summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-09 05:42:54 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-09 05:42:54 +0000
commitd62d23b5e87a924caaed9d8189da5f50226c79cc (patch)
treec1ae59ae8d66894f89a03793f82f59224ba9e649 /libc/sysdeps/linux/common
parenteb5667f0ce82995eacb0c6a86d76d83c8f881619 (diff)
Doh! I forgot a #ifdef such that ptrace ended up in each and every
syscall .o file. -Erik
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index d9ae26375..6b07fab5c 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -200,10 +200,12 @@ _syscall1(int, stime, time_t *, t);
#endif
//#define __NR_ptrace 26
+#ifdef L___ptrace
#include <sys/ptrace.h>
#define __NR___ptrace __NR_ptrace
_syscall4(long, __ptrace, enum __ptrace_request, request, pid_t, pid,
void*, addr, void*, data);
+#endif
//#define __NR_alarm 27