[SCSI] cxgb3i: Include net/dst.h for struct dst_cache
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 30 May 2009 03:40:04 +0000 (13:40 +1000)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 8 Jun 2009 18:09:33 +0000 (13:09 -0500)
This driver needs dst_cache->dev so it should include net/dst.h
to ensure that it builds.  While net/tcp.h probably includes it
already, we shouldn't rely on that since there is no guarantee
that this won't change in future.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/cxgb3i/cxgb3i_iscsi.c

index 04a43744aedfc589de6b232161eb4b071bfb3110..74369a3f963b66bdbdbaa0b71bdd6f848a074048 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/inet.h>
 #include <linux/crypto.h>
+#include <net/dst.h>
 #include <net/tcp.h>
 #include <scsi/scsi_cmnd.h>
 #include <scsi/scsi_device.h>