Re: A change to scsi.h

Christoph Hellwig (hch@infradead.org)
Tue, 11 Feb 2003 16:05:38 +0000


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/