summaryrefslogtreecommitdiff
path: root/patches/strace/4.10/009-upstream-musl_includes.patch
diff options
context:
space:
mode:
authorBryan Hundven <bryanhundven@gmail.com>2015-10-22 01:53:49 (GMT)
committerBryan Hundven <bryanhundven@gmail.com>2015-10-22 01:53:49 (GMT)
commit7d3ef0227a6c563aa6db73849e4249fb5a2ae9af (patch)
tree51c47b82d05dcc0391619bb06b9a0bdb2cdacd02 /patches/strace/4.10/009-upstream-musl_includes.patch
parent7bcc61dd64ee231080fd4f82b8715e376d33a6e2 (diff)
parentd60b4c2962851b491d7b2cb6632bf00e210bd076 (diff)
Merge pull request #223 from bhundven/musl-libc_gcc-5.2.0
musl-libc: backport gcc-6 musl support, add gdb and strace patches
Diffstat (limited to 'patches/strace/4.10/009-upstream-musl_includes.patch')
-rw-r--r--patches/strace/4.10/009-upstream-musl_includes.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/patches/strace/4.10/009-upstream-musl_includes.patch b/patches/strace/4.10/009-upstream-musl_includes.patch
new file mode 100644
index 0000000..a35d7fd
--- /dev/null
+++ b/patches/strace/4.10/009-upstream-musl_includes.patch
@@ -0,0 +1,53 @@
+--- a/evdev.c
++++ b/evdev.c
+@@ -28,6 +28,8 @@
+
+ #include "defs.h"
+
++#include <linux/ioctl.h>
++
+ #ifdef HAVE_LINUX_INPUT_H
+ #include <linux/input.h>
+ #include "xlat/evdev_abs.h"
+--- a/ioctl.c
++++ b/ioctl.c
+@@ -29,7 +29,7 @@
+ */
+
+ #include "defs.h"
+-#include <asm/ioctl.h>
++#include <linux/ioctl.h>
+ #include "xlat/ioctl_dirs.h"
+
+ #ifdef HAVE_LINUX_INPUT_H
+--- a/ioctlsort.c
++++ b/ioctlsort.c
+@@ -33,7 +33,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
+-#include <asm/ioctl.h>
++#include <linux/ioctl.h>
+
+ struct ioctlent {
+ const char *info;
+--- a/mknod.c
++++ b/mknod.c
+@@ -1,6 +1,7 @@
+ #include "defs.h"
+
+ #include <fcntl.h>
++#include <sys/stat.h>
+
+ #ifdef MAJOR_IN_SYSMACROS
+ # include <sys/sysmacros.h>
+--- a/printmode.c
++++ b/printmode.c
+@@ -1,6 +1,7 @@
+ #include "defs.h"
+
+ #include <fcntl.h>
++#include <sys/stat.h>
+
+ #include "xlat/modetypes.h"
+