summaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-11-30 02:55:14 +0000
committerAdam Jackson <ajax@nwnk.net>2005-11-30 02:55:14 +0000
commitea08b613bdc496b0e1aa3b723f8462d2c40ed8e5 (patch)
treeb0110d3ad7b1818b07f096a5f8e1c6f34f231b61 /libdrm
parentb3189730e7b0e574a28bd4947c407457cec4f7c8 (diff)
Resync from Xorg head (Bug #3815, GNU/kFreeBSD hack)
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 74b6aa43..4759e0fe 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -78,7 +78,7 @@ extern unsigned long _bus_base(void);
#include "xf86drm.h"
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#define DRM_MAJOR 145
#endif