diff -u -r ../strace-4.10/defs.h ./defs.h --- ../strace-4.10/defs.h 2015-03-05 21:19:01.000000000 -0500 +++ ./defs.h 2015-05-24 18:53:25.580567401 -0400 @@ -55,6 +55,10 @@ #include <sys/time.h> #include <sys/syscall.h> +#ifdef __ANDROID__ +# include <linux/stat.h> /* For S_IFMT, S_ISUID and S_ISGID defines. */ +#endif + #ifndef HAVE_STRERROR const char *strerror(int); mendif