aboutsummaryrefslogtreecommitdiff
path: root/include/evdev.h
diff options
context:
space:
mode:
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