diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c index e53d3d45b..8f60eae57 100644 --- a/hw/xfree86/drivers/modesetting/driver.c +++ b/hw/xfree86/drivers/modesetting/driver.c @@ -90,6 +90,10 @@ static const struct pci_id_match ms_device_match[] = { }; #endif +#ifndef XSERVER_PLATFORM_BUS +struct xf86_platform_device; +#endif + #ifdef XSERVER_PLATFORM_BUS static Bool ms_platform_probe(DriverPtr driver, int entity_num, int flags,