Messages in this thread Patch in this message | | | Date | Mon, 21 Feb 2000 13:06:05 +0100 | From | Henrik Nordstrom <> | Subject | 2.3.47 Complile error in PCI code [patch] |
| |
While trying to compile Linux-2.3.47 on an Alpha box.. (the error seems to be genereic thought)
/usr/src/redhat/BUILD/linux/include/linux/pci.h: In function `pci_module_init': In file included from pcisyms.c:11: /usr/src/redhat/BUILD/linux/include/linux/pci.h:608: `ENODEV' undeclared (first use in this function)
Cause: linux/errno.h not included by linux/pci.h.
Patch attached. --- linux/include/linux/pci.h.orig Mon Feb 21 05:48:23 2000 +++ linux/include/linux/pci.h Mon Feb 21 12:19:54 2000 @@ -285,6 +285,7 @@ #include <linux/config.h> #include <linux/ioport.h> #include <linux/list.h> +#include <linux/errno.h> /* This defines the direction arg to the DMA mapping routines. */ #define PCI_DMA_BIDIRECTIONAL 0 | |