swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit 70daabb4ea4de50ad99d980dd78f2c04c706fd29
parent a897e14068a184af1b41cc45ed2f2cece4c9a850
Author: Michael Forney <mforney@mforney.org>
Date:   Sat, 30 Apr 2016 00:09:07 -0700

launch: Remove definition of EVIOCREVOKE

Users must build with kernel headers that have this defined.

Diffstat:
Mlaunch/launch.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/launch/launch.c b/launch/launch.c @@ -39,6 +39,7 @@ #include <sys/stat.h> #include <sys/wait.h> #include <sys/ioctl.h> +#include <linux/input.h> #include <linux/kd.h> #include <linux/major.h> #include <linux/vt.h> @@ -47,9 +48,6 @@ #ifndef DRM_MAJOR #define DRM_MAJOR 226 #endif -#ifndef EVIOCREVOKE -#define EVIOCREVOKE _IOW('E', 0x91, int) -#endif #define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array)[0])