lkml.org 
[lkml]   [2000]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: M68k 2.3.99-pre3-6 compile fixes
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.059 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site