]> git.pld-linux.org Git - packages/X11.git/blob - X11-pci-build.patch
- another try
[packages/X11.git] / X11-pci-build.patch
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
5
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
8 @@ -45,6 +45,7 @@
9   * SOFTWARE.
10   */
11  
12 +#include <linux/pci.h>
13  #include <stdio.h>
14  #include "compiler.h"
15  #include "xf86.h"
16 @@ -208,8 +209,6 @@
17   *         master aborts are avoided during PCI scans).
18   */
19  
20 -#include <linux/pci.h>
21 -
22  #ifndef PCIIOC_BASE            /* Ioctls for /proc/bus/pci/X/Y nodes. */
23  #define PCIIOC_BASE            ('P' << 24 | 'C' << 16 | 'I' << 8)
24  
This page took 0.028815 seconds and 3 git commands to generate.