]> granicus.if.org Git - strace/commitdiff
Don't include linux/ptrace.h for glibc.
authorUlrich Drepper <drepper@redhat.com>
Sat, 29 May 1999 04:13:58 +0000 (04:13 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 29 May 1999 04:13:58 +0000 (04:13 +0000)
ChangeLog
syscall.c

index a426eb4cf13bc4d27ceb89b8f9fe6c191be25740..f4a7f6dbda26e2b7fdcabf0511a18808a7d67146 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@ Fri May 28 21:09:00 PST Ulrich Drepper <drepper@cygnus.com>
 
   * configure.in: Fix typo (CFLAG -> CFLAGS).
 
+  * syscall.c: Don't include linux/ptrace.h explicitly for glibc.
+
 Thu May 27 13:59:27 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
 
   * Add some sysctl support, patch from Ulrich Drepper
index 045ad278952a90a9344db1e486e26535721a80bd..4504e4cc507c8602d3063b5aea7c2e5b4fbff57e 100644 (file)
--- a/syscall.c
+++ b/syscall.c
@@ -41,7 +41,7 @@
 # include <sys/reg.h>
 #endif
 
-#ifdef LINUX
+#if defined LINUX && __GLIBC__ < 2
 #include <linux/ptrace.h>
 #endif /* LINUX */