diff options
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r-- | src/basic/missing.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h index 55028754cd..7c323c61cf 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -23,6 +23,7 @@ #include <errno.h> #include <fcntl.h> +#include <inttypes.h> #include <linux/audit.h> #include <linux/capability.h> #include <linux/if_link.h> @@ -569,6 +570,17 @@ struct btrfs_ioctl_quota_ctl_args { # define EVIOCREVOKE _IOW('E', 0x91, int) #endif +#ifndef EVIOCSMASK + +struct input_mask { + uint32_t type; + uint32_t codes_size; + uint64_t codes_ptr; +}; + +#define EVIOCSMASK _IOW('E', 0x93, struct input_mask) +#endif + #ifndef DRM_IOCTL_SET_MASTER # define DRM_IOCTL_SET_MASTER _IO('d', 0x1e) #endif |