mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
missing: drop old drm related definitions
These values are exposed earlier than linux-3.11. Let's use drm/drm.h.
This commit is contained in:
parent
957c622b86
commit
dab28f0905
@ -60,14 +60,6 @@
|
||||
# define CIFS_MAGIC_NUMBER 0xFF534D42
|
||||
#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
|
||||
|
||||
#ifndef RENAME_NOREPLACE
|
||||
#define RENAME_NOREPLACE (1 << 0)
|
||||
#endif
|
||||
|
@ -3,9 +3,13 @@
|
||||
#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