summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorduncan.hopkins <duncan.hopkins@foundry.com>2023-10-27 11:26:47 +0100
committerMarge Bot <emma+marge@anholt.net>2024-03-15 10:50:12 +0000
commit00e1562f5b90e5a8861b085daca926a5100b3bf1 (patch)
treec5535c6fca6cf858817c22b37ae5ba1c6582579b /src/glx
parent1d9215f90440e5c677f68d68d806c1912d7071c1 (diff)
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>
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/dri2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/dri2.h b/src/glx/dri2.h
index 4be5bf8eb8e..aa3f458aee5 100644
--- a/src/glx/dri2.h
+++ b/src/glx/dri2.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>