Re: A change to scsi.h

From: Christoph Hellwig (hch@infradead.org)
Date: Tue Feb 11 2003 - 11:05:38 EST


On Tue, Feb 11, 2003 at 04:54:16PM +0100, Peter Leif Rasmussen (PLR) wrote:
> When looking into:
>
> /usr/src/linux/include/scsi/scsi.h
>
> in kernel revision 2.5.60 I find this in line 200 - 205:
>
> /*
> * ScsiLun: 8 byte LUN.
> */
> typedef struct scsi_lun {
> u8 scsi_lun[8];
> } ScsiLun;
>
> This produces problems when compiling a package that doesn't know about
> 'u8'.

Userland code is not supposed to include kernel headers.

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



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:34 EST