diff options
author | 2018-12-07 18:11:36 +0900 | |
---|---|---|
committer | 2018-12-07 12:46:55 +0100 | |
commit | 5b139f86a6e034993c7476b1278e4e7cc2a33c1c (patch) | |
tree | cc0aa5847011a6dcd4bd412ac1b2f07e4653a43d /src/basic | |
parent | bash-completion: analyze: support 'security' (diff) | |
download | systemd-5b139f86a6e034993c7476b1278e4e7cc2a33c1c.tar.gz systemd-5b139f86a6e034993c7476b1278e4e7cc2a33c1c.tar.bz2 systemd-5b139f86a6e034993c7476b1278e4e7cc2a33c1c.zip |
missing: re-add drm related entries
This effectively reverts dab28f09051445fe370466e767e31652e0804a0f.
Fixes #11075.
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/meson.build | 1 | ||||
-rw-r--r-- | src/basic/missing.h | 1 | ||||
-rw-r--r-- | src/basic/missing_drm.h | 10 |
3 files changed, 12 insertions, 0 deletions
diff --git a/src/basic/meson.build b/src/basic/meson.build index fb6fa2fcf..23b5e75bd 100644 --- a/src/basic/meson.build +++ b/src/basic/meson.build @@ -96,6 +96,7 @@ basic_sources = files(''' missing_btrfs.h missing_btrfs_tree.h missing_capability.h + missing_drm.h missing_ethtool.h missing_fcntl.h missing_fib_rules.h diff --git a/src/basic/missing.h b/src/basic/missing.h index 7e14e0a2a..5067c8fd0 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -6,6 +6,7 @@ #include "missing_audit.h" #include "missing_btrfs_tree.h" #include "missing_capability.h" +#include "missing_drm.h" #include "missing_fcntl.h" #include "missing_fs.h" #include "missing_input.h" diff --git a/src/basic/missing_drm.h b/src/basic/missing_drm.h new file mode 100644 index 000000000..a64f74efd --- /dev/null +++ b/src/basic/missing_drm.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ +#pragma once + +#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 |