mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
gallium/dri: Switch xf86drm.h for util/libdrm.h to allow for the no-op shim to be used.
This patch allows MacOS to compile the dri[2] systems by switching from direct xf86drm.h to the pre-existing util/libdrm.h. Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28130>
This commit is contained in:
parent
1d9215f904
commit
00e1562f5b
3 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <xf86drm.h>
|
||||
#include "util/libdrm.h"
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
* <wallbraker@gmail.com> Chia-I Wu <olv@lunarg.com>
|
||||
*/
|
||||
|
||||
#include <xf86drm.h>
|
||||
#include "util/libdrm.h"
|
||||
#include "git_sha1.h"
|
||||
#include "GL/mesa_glinterop.h"
|
||||
#include "GL/internal/mesa_interface.h"
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
#ifndef _DRI2_H_
|
||||
#define _DRI2_H_
|
||||
|
||||
#include <xf86drm.h>
|
||||
#include "util/libdrm.h"
|
||||
#include <X11/extensions/Xfixes.h>
|
||||
#include <X11/extensions/dri2tokens.h>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue