summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared/drm.h b/shared/drm.h
index 62baccaf..96e99016 100644
--- a/shared/drm.h
+++ b/shared/drm.h
@@ -83,7 +83,8 @@
#if CONFIG_XFREE86_VERSION >= XFREE86_VERSION(4,1,0,0)
#ifdef __OpenBSD__
#define DRM_MAJOR 81
-#else
+#endif
+#if defined(__Linux__) || defined(__NetBSD__)
#define DRM_MAJOR 226
#endif
#define DRM_MAX_MINOR 15