diff options
author | Elliott Hughes <enh@google.com> | 2013-11-20 00:22:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-11-20 00:22:36 +0000 |
commit | 12fa8bf10aedcc6a5937c135e13e28ab54576bac (patch) | |
tree | 0a944b25bc66fbb99cc164d86d596070df634b2d | |
parent | 4219c32097ea68bdbca962e053ad34ca308288aa (diff) | |
parent | f9ddf987e3bd182307d7ca968d2ec0e0980b448d (diff) | |
download | strace-idea133.tar.gz |
Merge "Remove an Android hack and support building with uapi headers too."idea133
-rw-r--r-- | defs.h | 6 | ||||
-rw-r--r-- | process.c | 4 |
2 files changed, 6 insertions, 4 deletions
@@ -315,13 +315,19 @@ extern int mp_ioctl (int f, int c, void *a, int s); # define PTRACE_GETSIGINFO 0x4202 # endif # if !HAVE_DECL_PTRACE_O_TRACEFORK +# ifndef PTRACE_O_TRACEFORK # define PTRACE_O_TRACEFORK 0x00000002 +# endif # endif # if !HAVE_DECL_PTRACE_O_TRACEVFORK +# ifndef PTRACE_O_TRACEVFORK # define PTRACE_O_TRACEVFORK 0x00000004 +# endif # endif # if !HAVE_DECL_PTRACE_O_TRACECLONE +# ifndef PTRACE_O_TRACECLONE # define PTRACE_O_TRACECLONE 0x00000008 +# endif # endif # if !HAVE_DECL_PTRACE_EVENT_FORK @@ -45,11 +45,7 @@ #include <sys/wait.h> #include <sys/resource.h> #include <sys/utsname.h> -#ifdef HAVE_ANDROID_OS -#include <asm/user.h> -#else #include <sys/user.h> -#endif #include <sys/syscall.h> #include <signal.h> #ifdef SUNOS4 |