freedreno/replay: Define __user for msm_kgsl

Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com>
Tested-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12515
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33196>
This commit is contained in:
Karmjit Mahil 2025-01-24 10:36:57 +01:00 committed by Marge Bot
parent 8dae603431
commit b9da3963c7

View file

@ -20,6 +20,7 @@
#include <unistd.h>
#include <libgen.h>
#if FD_REPLAY_KGSL
#define __user
#include "../vulkan/msm_kgsl.h"
#elif FD_REPLAY_MSM
#include <xf86drm.h>