diff --git a/scst/include/backport.h b/scst/include/backport.h index 6c735b86c..5d12d023b 100644 --- a/scst/include/backport.h +++ b/scst/include/backport.h @@ -20,8 +20,11 @@ * GNU General Public License for more details. */ +#include /* struct request_queue */ +#include /* struct scatterlist */ #include /* kmalloc() */ #include /* sync_page_range() */ +#include /* struct scsi_cmnd */ /* */ diff --git a/scst/include/scst_debug.h b/scst/include/scst_debug.h index e154c23d0..ee2e18ee4 100644 --- a/scst/include/scst_debug.h +++ b/scst/include/scst_debug.h @@ -35,6 +35,12 @@ #include #endif +#ifdef INSIDE_KERNEL_TREE +#include +#else +#include +#endif + #if !defined(INSIDE_KERNEL_TREE) #ifdef CONFIG_SCST_DEBUG