mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
missing: re-add drm related entries
This effectively reverts dab28f0905
.
Fixes #11075.
This commit is contained in:
parent
83da42c3bf
commit
5b139f86a6
@ -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
|
||||
|
@ -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"
|
||||
|
10
src/basic/missing_drm.h
Normal file
10
src/basic/missing_drm.h
Normal file
@ -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
|
@ -3,13 +3,9 @@
|
||||
#include <fcntl.h>
|
||||
#include <linux/input.h>
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Old drm.h may needs to be included after stdint.h and sys/types.h */
|
||||
#include <drm/drm.h>
|
||||
|
||||
#include "sd-device.h"
|
||||
|
||||
#include "alloc-util.h"
|
||||
|
Loading…
Reference in New Issue
Block a user