mirror of
https://github.com/X11Libre/xf86-video-sis.git
synced 2026-03-24 01:25:01 +00:00
Build fix for older servers (error: conflicting types for 'pciTag')
/usr/include/xorg/xf86Pci.h:254:25: note: previous declaration of 'pciTag' was here Reported-by: Johannes Obermayr <johannesobermayr@gmx.de> Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
@@ -36,6 +36,10 @@ enum region_type {
|
||||
REGION_IO
|
||||
};
|
||||
|
||||
#include "xf86Module.h"
|
||||
|
||||
#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 12
|
||||
|
||||
#if (defined(__alpha__) || defined(__ia64__)) && defined (linux)
|
||||
#define PCI_DOM_MASK 0x01fful
|
||||
#else
|
||||
@@ -57,6 +61,7 @@ pciTag(int busnum, int devnum, int funcnum)
|
||||
|
||||
return tag;
|
||||
}
|
||||
#endif /* GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) >= 12 */
|
||||
|
||||
#ifndef XSERVER_LIBPCIACCESS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user