From 78fad9ca1635cca04b89807e3db029477cf46681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 26 Jun 2017 18:58:30 +0900 Subject: Include xf86Pci.h for DRICreatePCIBusID with xserver Git master The declaration has been moved there from dri.h. Reviewed-by: Alex Deucher --- src/radeon_probe.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/radeon_probe.c b/src/radeon_probe.c index aaace2b5..19295f00 100644 --- a/src/radeon_probe.c +++ b/src/radeon_probe.c @@ -48,7 +48,12 @@ #include "xf86.h" #include "xf86drmMode.h" + +#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,19,99,1,0) +#include +#else #include "dri.h" +#endif #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #include -- cgit v1.2.3