pick: Update from 2.0.1 to 2.0.2
[termux-packages] / packages / strace / defs.h.patch
1 diff -u -r ../strace-4.10/defs.h ./defs.h
2 --- ../strace-4.10/defs.h 2015-03-05 21:19:01.000000000 -0500
3 +++ ./defs.h 2015-05-24 18:53:25.580567401 -0400
4 @@ -55,6 +55,10 @@
5 #include <sys/time.h>
6 #include <sys/syscall.h>
7
8 +#ifdef __ANDROID__
9 +# include <linux/stat.h> /* For S_IFMT, S_ISUID and S_ISGID defines. */
10 +#endif
11 +
12 #ifndef HAVE_STRERROR
13 const char *strerror(int);
14 mendif