chiark / gitweb /
logind: introduce session-devices
[elogind.git] / src / shared / missing.h
index d1ca135c5533e829f7cf2fa63f5c942b5d21d56f..6c038d9f08fbc852ffb9687c373cf44f3e87ecc1 100644 (file)
@@ -29,6 +29,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <linux/oom.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <linux/oom.h>
+#include <linux/input.h>
 
 #ifdef HAVE_AUDIT
 #include <libaudit.h>
 
 #ifdef HAVE_AUDIT
 #include <libaudit.h>
@@ -310,3 +311,15 @@ static inline int name_to_handle_at(int fd, const char *name, struct file_handle
 #ifndef SO_REUSEPORT
 #define SO_REUSEPORT 15
 #endif
 #ifndef SO_REUSEPORT
 #define SO_REUSEPORT 15
 #endif
+
+#ifndef EVIOCREVOKE
+#define EVIOCREVOKE _IOW('E', 0x91, int)
+#endif
+
+#ifndef DRM_IOCTL_SET_MASTER
+#define DRM_IOCTL_SET_MASTER _IO('d', 0x1e)
+#endif
+
+#ifndef DRM_IOCTL_DROP_MASTER
+#define DRM_IOCTL_DROP_MASTER _IO('d', 0x1f)
+#endif