53 lines
1.2 KiB
Diff
53 lines
1.2 KiB
Diff
--- resource.c
|
|
+++ resource.c
|
|
@@ -31,6 +31,7 @@
|
|
#include "defs.h"
|
|
#include <sys/resource.h>
|
|
#include <sys/times.h>
|
|
+#include <sys/sysinfo.h>
|
|
#include <linux/kernel.h>
|
|
|
|
#include "xlat/resources.h"
|
|
|
|
--- resource.c 2015-05-09 09:40:18.766000000 +0000
|
|
+++ resource.c 2015-05-09 09:39:45.556000000 +0000
|
|
@@ -32,7 +32,6 @@
|
|
#include <sys/resource.h>
|
|
#include <sys/times.h>
|
|
#include <sys/sysinfo.h>
|
|
-#include <linux/kernel.h>
|
|
|
|
#include "xlat/resources.h"
|
|
|
|
--- evdev.c 2015-02-22 02:29:55.000000000 +0000
|
|
+++ evdev.c 2015-05-09 09:38:40.513000000 +0000
|
|
@@ -28,6 +28,8 @@
|
|
|
|
#include "defs.h"
|
|
|
|
+#include <linux/ioctl.h> /* _IOC_NR */
|
|
+
|
|
#ifdef HAVE_LINUX_INPUT_H
|
|
#include <linux/input.h>
|
|
#include "xlat/evdev_abs.h"
|
|
|
|
--- mknod.c 2014-12-11 21:39:12.000000000 +0000
|
|
+++ mknod.c 2015-05-09 09:39:12.946000000 +0000
|
|
@@ -1,5 +1,6 @@
|
|
#include "defs.h"
|
|
|
|
+#include <sys/stat.h> /* S_IFMT */
|
|
#include <fcntl.h>
|
|
|
|
#ifdef MAJOR_IN_SYSMACROS
|
|
|
|
--- printmode.c 2014-12-11 21:39:02.000000000 +0000
|
|
+++ printmode.c 2015-05-09 09:39:32.993000000 +0000
|
|
@@ -1,5 +1,6 @@
|
|
#include "defs.h"
|
|
|
|
+#include <sys/stat.h> /* S_IFMT */
|
|
#include <fcntl.h>
|
|
|
|
#include "xlat/modetypes.h"
|
|
|