summaryrefslogtreecommitdiff
path: root/x11/xorg-libs/patches/patch-bd
blob: 93b1b31da361f83eac64e0e2e56bbc8d08e6c50e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-bd,v 1.1 2005/05/23 19:14:15 xtraeme Exp $

--- extras/drm/shared/drm.h.orig	2005-04-30 23:19:49.000000000 +0200
+++ extras/drm/shared/drm.h	2005-04-30 23:21:37.000000000 +0200
@@ -46,8 +46,8 @@
 #define DRM_IOC_WRITE		_IOC_WRITE
 #define DRM_IOC_READWRITE	_IOC_READ|_IOC_WRITE
 #define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size)
-#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
-#if defined(__FreeBSD__) && defined(IN_MODULE)
+#elif defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#if (defined(__DragonFly__) || defined(__FreeBSD__)) && defined(IN_MODULE)
 /* Prevent name collision when including sys/ioccom.h */
 #undef ioctl
 #include <sys/ioccom.h>