Re: M68k 2.3.99-pre3-6 compile fixes

From: Arjan van de Ven (arjan@fenrus.demon.nl)
Date: Thu Mar 23 2000 - 13:47:47 EST


In article <19162.953833224@devel2.axiom.internal> you wrote:

> ===================================================================
> RCS file: /cvs/linux/drivers/sound/os.h,v
> retrieving revision 1.1.1.3
> diff -u -w -r1.1.1.3 os.h
> --- drivers/sound/os.h 1998/11/16 09:20:10 1.1.1.3
> +++ drivers/sound/os.h 2000/03/23 17:35:18
> @@ -32,7 +32,9 @@
> #include <linux/vmalloc.h>
> #include <asm/uaccess.h>
> #include <linux/poll.h>
> +#ifdef CONFIG_PCI
> #include <linux/pci.h>
> +#endif
> #endif
  

This is definitly wrong. One should ALWAYS be able to include <linux/pci.h>.
But pci.h NEEDS config.h to be included first, so maybe instead of #ifdef'in
the include, "#include <linux/config.h> is needed to fix this.

Greetings,
   Arjan van de Ven

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:38 EST