diff options
author | Michel Dänzer <mdaenzer@redhat.com> | 2021-02-02 12:45:54 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2021-05-10 10:46:53 +0200 |
commit | 5eba006e4129e8015b822f9e1d2f1e613e252cda (patch) | |
tree | fa5727a12239f24babad8e235eca48ef993d7070 | |
parent | ecced3b3c6af501c4c90265f8404b6898f3cf037 (diff) |
Only include dri.h with older versions of xserver
Not needed anymore with current versions.
-rw-r--r-- | src/drmmode_display.c | 2 |
1 files changed, 2 insertions, 0 deletions
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" |