2.6.23-git8 missing include file

From: Kamalesh Babulal
Date: Tue Oct 16 2007 - 01:50:08 EST


Hi,

The build fails with following error

CC drivers/usb/storage/scsiglue.o
CC drivers/usb/storage/protocol.o
CC drivers/usb/storage/transport.o
In file included from drivers/usb/storage/transport.c:53:
include/scsi/scsi_eh.h:79: error: field 'sense_sgl' has incomplete type
make[3]: *** [drivers/usb/storage/transport.o] Error 1
make[2]: *** [drivers/usb/storage] Error 2
make[1]: *** [drivers/usb] Error 2
make: *** [drivers] Error 2

This patch fixes the build failure

--- linux-2.6.23/include/scsi/scsi_cmnd.h 2007-10-16 09:58:30.000000000 +0530
+++ linux-2.6.23/include/scsi/~scsi_cmnd.h 2007-10-16 10:20:32.000000000 +0530
@@ -5,6 +5,7 @@
#include <linux/list.h>
#include <linux/types.h>
#include <linux/timer.h>
+#include <linux/scatterlist.h>

struct request;
struct scatterlist;

--
Thanks & Regards,
Kamalesh Babulal,
Linux Technology Center,
IBM, ISTL.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/