summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 62baccaf..96e99016 100644
--- a/shared-core/drm.h
+++ b/shared-core/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