mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-08 08:00:30 +01:00
Add compatibility define for pci_device_is_boot_display()
It will take some time for a new libpciaccess to be released and even then bumping the dependency for libpciaccess isn't attractive. If an older libpciaccess is used just add a static inline define.
This commit is contained in:
parent
95a2eda2c8
commit
05f061aabc
1 changed files with 7 additions and 0 deletions
|
|
@ -136,4 +136,11 @@ static inline void xf86MergeOutputClassOptions(int index, void **options) {}
|
|||
|
||||
#endif
|
||||
|
||||
#ifndef pci_device_is_boot_display
|
||||
static inline Bool pci_device_is_boot_display(struct pci_device *dev)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue