Fredrik Fornwall
7 years ago
4 changed files with 20 additions and 39 deletions
@ -1,14 +0,0 @@ |
|||
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 |
@ -1,11 +0,0 @@ |
|||
diff -u -r ../strace-4.11/flock.h ./flock.h
|
|||
--- ../strace-4.11/flock.h 2015-12-17 12:56:48.000000000 -0500
|
|||
+++ ./flock.h 2016-01-03 20:51:51.276893007 -0500
|
|||
@@ -26,6 +26,7 @@
|
|||
*/ |
|||
|
|||
#include <linux/fcntl.h> |
|||
+#include <fcntl.h>
|
|||
|
|||
#if defined HAVE_STRUCT_FLOCK |
|||
typedef struct flock struct_kernel_flock; |
@ -0,0 +1,17 @@ |
|||
diff -u -r ../strace-4.23/linux/linux/signal.h ./linux/linux/signal.h
|
|||
--- ../strace-4.23/linux/linux/signal.h 2018-06-13 18:18:38.000000000 +0200
|
|||
+++ ./linux/linux/signal.h 2018-07-09 23:12:56.526822310 +0200
|
|||
@@ -1,5 +1,13 @@
|
|||
+#include <sys/cdefs.h>
|
|||
+#if defined(__BIONIC__)
|
|||
+/*
|
|||
+ * Bionic's <linux/signal.h> is the UAPI one, and <signal.h> requires it.
|
|||
+ */
|
|||
+#include_next <linux/signal.h>
|
|||
+#else
|
|||
/* |
|||
* Workaround the infamous incompatibility between <linux/signal.h> |
|||
* and many libc headers by overriding <linux/signal.h> with <signal.h>. |
|||
*/ |
|||
#include <signal.h> |
|||
+#endif
|
Loading…
Reference in new issue