From a15f5e8250eb0ae720cc6823a1b8bed768c38920 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 30 Nov 2005 03:04:18 +0000 Subject: Resync from Xorg head (Bug #3815, GNU/kFreeBSD hack) --- libdrm/xf86drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3