commit 70daabb
Michael Forney
·
2016-04-30 07:09:07 +0000 UTC
parent a897e14
launch: Remove definition of EVIOCREVOKE Users must build with kernel headers that have this defined.
1 files changed,
+1,
-3
+1,
-3
1@@ -39,6 +39,7 @@
2 #include <sys/stat.h>
3 #include <sys/wait.h>
4 #include <sys/ioctl.h>
5+#include <linux/input.h>
6 #include <linux/kd.h>
7 #include <linux/major.h>
8 #include <linux/vt.h>
9@@ -47,9 +48,6 @@
10 #ifndef DRM_MAJOR
11 #define DRM_MAJOR 226
12 #endif
13-#ifndef EVIOCREVOKE
14-#define EVIOCREVOKE _IOW('E', 0x91, int)
15-#endif
16
17 #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array)[0])
18