From d62d23b5e87a924caaed9d8189da5f50226c79cc Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Fri, 9 Feb 2001 05:42:54 +0000
Subject: Doh!  I forgot a #ifdef such that ptrace ended up in each and every
 syscall .o file.  -Erik

---
 libc/sysdeps/linux/common/syscalls.c | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'libc')

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
-- 
cgit v1.2.3