mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02:00
zink: check HAVE_LIBDRM for xf86drm.h include
cc: mesa-stable Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31408>
This commit is contained in:
parent
55e1a596f6
commit
d1f6e52de2
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@
|
|||
#include "zink_screen.h"
|
||||
#include "util/u_hash_table.h"
|
||||
|
||||
#if !defined(__APPLE__) && !defined(_WIN32)
|
||||
#ifdef HAVE_LIBDRM
|
||||
#define ZINK_USE_DMABUF
|
||||
#include <xf86drm.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue