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 4b2ecdf936
commit 52e43a99b6

View file

@ -10,7 +10,7 @@
#define STRLEN(s) ((sizeof(s) / sizeof(s[0])) - 1)
#if defined(__NetBSD__)
#if defined(__NetBSD__) || defined(__OpenBSD__)
int path_is_wscons(const char *path) {
static const char wskbd[] = "/dev/wskbd";
static const char wsmouse[] = "/dev/wsmouse";