From 75ab02068ee7bd9d7d343def9a75d1bd3d854de9 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 26 Aug 2024 13:45:01 +0200 Subject: [PATCH] kopper: only include loader_dri3_helper.h when xcb is enabled Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11779 Fixes: f14ef0ee0a52f1a1b06b ("kopper: reuse dri3 functions") Part-of: --- src/gallium/frontends/dri/kopper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/frontends/dri/kopper.c b/src/gallium/frontends/dri/kopper.c index a33d6e3f528..ec304f55d8a 100644 --- a/src/gallium/frontends/dri/kopper.c +++ b/src/gallium/frontends/dri/kopper.c @@ -38,7 +38,6 @@ #include "dri_context.h" #include "dri_drawable.h" #include "dri_helpers.h" -#include "loader_dri3_helper.h" #include @@ -50,6 +49,7 @@ #include "util/libsync.h" #include #include "drm-uapi/drm_fourcc.h" +#include "loader_dri3_helper.h" #endif static struct dri_drawable *