summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-11-30 03:04:18 +0000
committerAdam Jackson <ajax@nwnk.net>2005-11-30 03:04:18 +0000
commita15f5e8250eb0ae720cc6823a1b8bed768c38920 (patch)
tree1afdfa1fe7bc8de5ade9584cc92c60dd0a9c33f4
parent2c6308fe54c10075379cb00506d5519e0ced1076 (diff)
Resync from Xorg head (Bug #3815, GNU/kFreeBSD hack)
-rw-r--r--libdrm/xf86drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c
index 1082f225..6c8c3506 100644
--- a/libdrm/xf86drm.c
+++ b/libdrm/xf86drm.c
@@ -83,7 +83,7 @@ extern unsigned long _bus_base(void);
#include "xf86drm.h"
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#define DRM_MAJOR 145
#endif