diff options
Diffstat (limited to 'include/drm.h')
-rw-r--r-- | include/drm.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/drm.h b/include/drm.h index 1012c89..8a7fb10 100644 --- a/include/drm.h +++ b/include/drm.h @@ -1,10 +1,13 @@ #ifndef _SEATD_DRM_H #define _SEATD_DRM_H -#include <sys/types.h> - int drm_set_master(int fd); int drm_drop_master(int fd); +int path_is_drm(const char *path); + +#if defined(__linux__) +#include <sys/types.h> int dev_is_drm(dev_t device); +#endif #endif |