kernel: update kernel 4.4 to version 4.4.3
[openwrt/staging/noltari.git] / package / devel / strace / patches / 001-upstream-musl_includes.patch
1 --- a/evdev.c
2 +++ b/evdev.c
3 @@ -28,6 +28,8 @@
4
5 #include "defs.h"
6
7 +#include <linux/ioctl.h>
8 +
9 #ifdef HAVE_LINUX_INPUT_H
10 #include <linux/input.h>
11 #include "xlat/evdev_abs.h"
12 --- a/ioctl.c
13 +++ b/ioctl.c
14 @@ -29,7 +29,7 @@
15 */
16
17 #include "defs.h"
18 -#include <asm/ioctl.h>
19 +#include <linux/ioctl.h>
20 #include "xlat/ioctl_dirs.h"
21
22 #ifdef HAVE_LINUX_INPUT_H
23 --- a/ioctlsort.c
24 +++ b/ioctlsort.c
25 @@ -33,7 +33,7 @@
26 #include <stdio.h>
27 #include <stdlib.h>
28 #include <string.h>
29 -#include <asm/ioctl.h>
30 +#include <linux/ioctl.h>
31
32 struct ioctlent {
33 const char *info;
34 --- a/mknod.c
35 +++ b/mknod.c
36 @@ -1,6 +1,7 @@
37 #include "defs.h"
38
39 #include <fcntl.h>
40 +#include <sys/stat.h>
41
42 #ifdef MAJOR_IN_SYSMACROS
43 # include <sys/sysmacros.h>
44 --- a/printmode.c
45 +++ b/printmode.c
46 @@ -1,6 +1,7 @@
47 #include "defs.h"
48
49 #include <fcntl.h>
50 +#include <sys/stat.h>
51
52 #include "xlat/modetypes.h"
53