summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorHasso Tepper <hasso@estpak.ee>2008-04-07 15:27:43 +0300
committerDaniel Stone <daniel@fooishbar.org>2008-04-07 15:27:43 +0300
commit27c3785d3f12743a9e160238a4d00353060ec2f2 (patch)
treeadb1a463a003d27c7643b0a5af8bb32c139e07c3 /libdrm
parentdfa9f0399223d86a6478bf93be879da476f93eda (diff)
Add DragonFly BSD support for device creation
DragonFly behaves just like FreeBSD in this regard.
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 3317ba5c..28f481ff 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -57,7 +57,7 @@
#include "xf86drm.h"
-#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
#define DRM_MAJOR 145
#endif