aboutsummaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-04-26 14:16:13 +0300
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-04-26 14:16:13 +0300
commit942d9be296df38aa69987845a08d3d607b85f83e (patch)
tree9a42feaaf4fee55da2f4e23f7679f805589af5e4 /shared-core
parentb69b42634619076d4163ae144f0154880d1928cd (diff)
freebsd: remove stray apperance of IN_MODULE.
The xserver no longer uses the libc-wrapper.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/drm.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 9ddb480b..b7b2ac04 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -80,14 +80,7 @@
#define DRM_IOC_READWRITE _IOC_READ|_IOC_WRITE
#define DRM_IOC(dir, group, nr, size) _IOC(dir, group, nr, size)
#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
-#if (defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) && defined(IN_MODULE)
-/* Prevent name collision when including sys/ioccom.h */
-#undef ioctl
#include <sys/ioccom.h>
-#define ioctl(a,b,c) xf86ioctl(a,b,c)
-#else
-#include <sys/ioccom.h>
-#endif /* __FreeBSD__ && xf86ioctl */
#define DRM_IOCTL_NR(n) ((n) & 0xff)
#define DRM_IOC_VOID IOC_VOID
#define DRM_IOC_READ IOC_OUT