]> git.pld-linux.org Git - packages/X11.git/blame - X11-pci-build.patch
- original from http://xorg.freedesktop.org/releases/X11R6.9.0/patches/x11r6.9.0...
[packages/X11.git] / X11-pci-build.patch
CommitLineData
aa3c5b9a 1In file included from linuxPci.c:211:
aa3c5b9a
PS
2pci.h:454: error: parse error before "pci_power_t"
3pci.h:454: warning: type defaults to `int' in declaration of `pci_power_t'
4pci.h:454: warning: data definition has no type or storage class
5
05c38905
PS
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 */
aa3c5b9a 11
aa3c5b9a 12+#include <linux/pci.h>
05c38905
PS
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)
aa3c5b9a 24
This page took 0.02789 seconds and 4 git commands to generate.