mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 19:50:12 +01:00
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:
parent
783ba16f26
commit
117d3d9a7e
1 changed files with 2 additions and 0 deletions
|
|
@ -35,7 +35,9 @@
|
|||
#ifndef _DRM_H_
|
||||
#define _DRM_H_
|
||||
|
||||
#undef ioctl
|
||||
#include <sys/ioccom.h>
|
||||
#define ioctl(a,b,c) xf86ioctl(a,b,c)
|
||||
#define DRM_IOCTL_NR(n) ((n) & 0xff)
|
||||
|
||||
#define XFREE86_VERSION(major,minor,patch,snap) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue