aboutsummaryrefslogtreecommitdiff
path: root/include/drm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drm.h')
-rw-r--r--include/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm.h b/include/drm.h
index 8a7fb10..c8c3eeb 100644
--- a/include/drm.h
+++ b/include/drm.h
@@ -5,7 +5,7 @@ int drm_set_master(int fd);
int drm_drop_master(int fd);
int path_is_drm(const char *path);
-#if defined(__linux__)
+#if defined(__linux__) || defined(__NetBSD__)
#include <sys/types.h>
int dev_is_drm(dev_t device);
#endif