diff options
author | Thomas Klausner <wiz@NetBSD.org> | 2015-11-11 13:32:05 +0100 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2016-01-06 10:10:14 -0500 |
commit | 862cbf4c870c9ed913206c6ef4988bdb470e1c39 (patch) | |
tree | e559a0c86ef15d6da6d3e5a472e399882164eeec | |
parent | 63f83d1b7f496d05b409352749cdb6674d71cf80 (diff) |
Fix build when XSERVER_PLATFORM_BUS is not defined.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
-rw-r--r-- | hw/xfree86/drivers/modesetting/driver.c | 4 |
1 files changed, 4 insertions, 0 deletions
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, |