aboutsummaryrefslogtreecommitdiff
path: root/include/drm.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/drm.h
parent1990f9b0348412a06acae0e7d17d746905cc75b1 (diff)
Initial netbsd support
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