Initial netbsd support

This commit is contained in:
illiliti 2022-03-04 06:10:27 +03:00 committed by Kenny Levinsen
parent 1990f9b034
commit 4ad48cb305
7 changed files with 84 additions and 4 deletions

View file

@ -4,7 +4,7 @@
int evdev_revoke(int fd);
int path_is_evdev(const char *path);
#if defined(__linux__)
#if defined(__linux__) || defined(__NetBSD__)
#include <sys/types.h>
int dev_is_evdev(dev_t device);
#endif