diff --git a/xf86drm.c b/xf86drm.c index 63ba1ede..fd8c5961 100644 --- a/xf86drm.c +++ b/xf86drm.c @@ -75,7 +75,7 @@ #include "util_math.h" -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#ifdef __DragonFly__ #define DRM_MAJOR 145 #endif