OSDN Git Service

Doh! I forgot a #ifdef such that ptrace ended up in each and every
authorEric Andersen <andersen@codepoet.org>
Fri, 9 Feb 2001 05:42:54 +0000 (05:42 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 9 Feb 2001 05:42:54 +0000 (05:42 -0000)
syscall .o file.
 -Erik

libc/sysdeps/linux/common/syscalls.c

index d9ae263..6b07fab 100644 (file)
@@ -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