aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/evdev.h5
-rw-r--r--include/seat.h1
-rw-r--r--include/wscons.h6
3 files changed, 7 insertions, 5 deletions
diff --git a/include/evdev.h b/include/evdev.h
index da57828..5e6cfbf 100644
--- a/include/evdev.h
+++ b/include/evdev.h
@@ -4,9 +4,4 @@
int evdev_revoke(int fd);
int path_is_evdev(const char *path);
-#if defined(__linux__) || defined(__NetBSD__)
-#include <sys/types.h>
-int dev_is_evdev(dev_t device);
-#endif
-
#endif
diff --git a/include/seat.h b/include/seat.h
index cc243b6..ff857e7 100644
--- a/include/seat.h
+++ b/include/seat.h
@@ -13,6 +13,7 @@ enum seat_device_type {
SEAT_DEVICE_TYPE_NORMAL,
SEAT_DEVICE_TYPE_EVDEV,
SEAT_DEVICE_TYPE_DRM,
+ SEAT_DEVICE_TYPE_WSCONS,
};
struct seat_device {
diff --git a/include/wscons.h b/include/wscons.h
new file mode 100644
index 0000000..bf0c10c
--- /dev/null
+++ b/include/wscons.h
@@ -0,0 +1,6 @@
+#ifndef _SEATD_WSCONS_H
+#define _SEATD_WSCONS_H
+
+int path_is_wscons(const char *path);
+
+#endif