33 lines
896 B
Diff
33 lines
896 B
Diff
|
From 5eba006e4129e8015b822f9e1d2f1e613e252cda Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Michel=20D=C3=A4nzer?= <mdaenzer@redhat.com>
|
||
|
Date: Tue, 2 Feb 2021 12:45:54 +0100
|
||
|
Subject: [PATCH] Only include dri.h with older versions of xserver
|
||
|
|
||
|
Not needed anymore with current versions.
|
||
|
|
||
|
Downloaded from upstream commit
|
||
|
https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati/-/commit/5eba006e4129e8015b822f9e1d2f1e613e252cda
|
||
|
|
||
|
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||
|
---
|
||
|
src/drmmode_display.c | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
|
||
|
index 3099a729..a58f24dd 100644
|
||
|
--- a/src/drmmode_display.c
|
||
|
+++ b/src/drmmode_display.c
|
||
|
@@ -45,7 +45,9 @@
|
||
|
#include "radeon_glamor.h"
|
||
|
#include "radeon_reg.h"
|
||
|
|
||
|
+#if XORG_VERSION_CURRENT < XORG_VERSION_NUMERIC(1,19,99,1,0)
|
||
|
#include <dri.h>
|
||
|
+#endif
|
||
|
|
||
|
#include "drmmode_display.h"
|
||
|
|
||
|
--
|
||
|
GitLab
|
||
|
|