aboutsummaryrefslogtreecommitdiff
path: root/include/evdev.h
diff options
context:
space:
mode:
authorilliliti <illiliti@thunix.net>2022-03-04 06:10:27 +0300
committerKenny Levinsen <kl@kl.wtf>2022-03-16 21:39:46 +0100
commit4ad48cb305b3f847ab7d3c2d3f59c27007519c77 (patch)
treef437b5082ab46c2fea80b5473a787230108e437d /include/evdev.h
parent1990f9b0348412a06acae0e7d17d746905cc75b1 (diff)
Initial netbsd support
Diffstat (limited to 'include/evdev.h')
-rw-r--r--include/evdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/evdev.h b/include/evdev.h
index 6ebd943..da57828 100644
--- a/include/evdev.h
+++ b/include/evdev.h
@@ -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