Add basic OpenBSD support

XXX more work needed to manage VT switches and proper
XXX fbtab(4) support to allow for non-root users
This commit is contained in:
Matthieu Herrb 2023-07-05 10:49:24 +02:00
parent f2ff233c26
commit 4b2ecdf936
5 changed files with 33 additions and 4 deletions

View file

@ -25,7 +25,7 @@ int path_is_evdev(const char *path) {
int evdev_revoke(int fd) {
return ioctl(fd, EVIOCREVOKE, NULL);
}
#elif defined(__NetBSD__)
#elif defined(__NetBSD__) || defined(__OpenBSD__)
int path_is_evdev(const char *path) {
(void)path;
return 0;