Only include dri.h with older versions of xserver

Not needed anymore with current versions.
This commit is contained in:
Michel Dänzer
2021-02-02 12:45:54 +01:00
committed by Michel Dänzer
parent ecced3b3c6
commit 5eba006e41

View File

@@ -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"