From: Michel Dänzer <michel.daenzer@xxxxxxx> The declaration has been moved there from dri.h. Signed-off-by: Michel Dänzer <michel.daenzer at amd.com> --- src/radeon_probe.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/radeon_probe.c b/src/radeon_probe.c index aaace2b5f..19295f00c 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 <xf86Pci.h> +#else #include "dri.h" +#endif #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) #include <xf86_OSproc.h> -- 2.13.1