--- strace-4.8.orig/defs.h 2013-05-14 16:10:42.000000000 +0200 +++ strace-4.8/defs.h 2013-10-24 18:52:25.000000000 +0200 @@ -155,14 +155,14 @@ extern char *stpcpy(char *dst, const cha || defined(METAG) \ || defined(TILE) \ || defined(XTENSA) \ - ) && defined(__GLIBC__) + ) && defined(__linux__) # include #else /* Work around awkward prototype in ptrace.h. */ # define ptrace xptrace # include # undef ptrace -# ifdef POWERPC +# if defined(POWERPC) || defined(ARM) # define __KERNEL__ # include # undef __KERNEL__ @@ -222,11 +222,6 @@ extern long ptrace(int, int, char *, lon # define PTRACE_EVENT_EXIT 6 #endif -#if !defined(__GLIBC__) -# define PTRACE_PEEKUSER PTRACE_PEEKUSR -# define PTRACE_POKEUSER PTRACE_POKEUSR -#endif - #if USE_SEIZE # undef PTRACE_SEIZE # define PTRACE_SEIZE 0x4206