1 In file included from linuxPci.c:211:
2 pci.h:454: error: parse error before "pci_power_t"
3 pci.h:454: warning: type defaults to `int' in declaration of `pci_power_t'
4 pci.h:454: warning: data definition has no type or storage class
6 --- X11-6.8.2/xc/programs/Xserver/hw/xfree86/os-support/bus/linuxPci.c.orig 2004-12-15 05:48:20.000000000 +0000
7 +++ X11-6.8.2/xc/programs/Xserver/hw/xfree86/os-support/bus/linuxPci.c 2005-04-01 11:20:25.678791042 +0000
12 +#include <linux/pci.h>
17 * master aborts are avoided during PCI scans).
20 -#include <linux/pci.h>
22 #ifndef PCIIOC_BASE /* Ioctls for /proc/bus/pci/X/Y nodes. */
23 #define PCIIOC_BASE ('P' << 24 | 'C' << 16 | 'I' << 8)