diff options
Diffstat (limited to 'include/evdev.h')
-rw-r--r-- | include/evdev.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/evdev.h b/include/evdev.h index 0f20e3e..6ebd943 100644 --- a/include/evdev.h +++ b/include/evdev.h @@ -1,9 +1,12 @@ #ifndef _SEATD_EVDEV_H #define _SEATD_EVDEV_H -#include <sys/types.h> - int evdev_revoke(int fd); +int path_is_evdev(const char *path); + +#if defined(__linux__) +#include <sys/types.h> int dev_is_evdev(dev_t device); +#endif #endif |