From 117d3d9a7eb3fc409ee3fc65c2095d894ff49d4e Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 17 Jun 2002 07:22:54 +0000 Subject: [PATCH] Work around ioctl() being defined in sys/ioccom.h. This will have to be evaluated before merging, but helps with compiling for now. --- bsd/drm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bsd/drm.h b/bsd/drm.h index ddb280cc..28433cb1 100644 --- a/bsd/drm.h +++ b/bsd/drm.h @@ -35,7 +35,9 @@ #ifndef _DRM_H_ #define _DRM_H_ +#undef ioctl #include +#define ioctl(a,b,c) xf86ioctl(a,b,c) #define DRM_IOCTL_NR(n) ((n) & 0xff) #define XFREE86_VERSION(major,minor,patch,snap) \