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:
committed by
Marge Bot
parent
55e1a596f6
commit
d1f6e52de2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user