X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Fmissing.h;h=6c038d9f08fbc852ffb9687c373cf44f3e87ecc1;hp=d1ca135c5533e829f7cf2fa63f5c942b5d21d56f;hb=118ecf32425a590ea266b5c2b6de7962bb242356;hpb=360e09ea9ad3a8e84e1729ebd2967ab8f7348170;ds=inline diff --git a/src/shared/missing.h b/src/shared/missing.h index d1ca135c5..6c038d9f0 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -29,6 +29,7 @@ #include #include #include +#include #ifdef HAVE_AUDIT #include @@ -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 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