Work around ioctl() being defined in sys/ioccom.h. This will have to be

evaluated before merging, but helps with compiling for now.
This commit is contained in:
Eric Anholt 2002-06-17 07:22:54 +00:00
parent 783ba16f26
commit 117d3d9a7e

View file

@ -35,7 +35,9 @@
#ifndef _DRM_H_ #ifndef _DRM_H_
#define _DRM_H_ #define _DRM_H_
#undef ioctl
#include <sys/ioccom.h> #include <sys/ioccom.h>
#define ioctl(a,b,c) xf86ioctl(a,b,c)
#define DRM_IOCTL_NR(n) ((n) & 0xff) #define DRM_IOCTL_NR(n) ((n) & 0xff)
#define XFREE86_VERSION(major,minor,patch,snap) \ #define XFREE86_VERSION(major,minor,patch,snap) \