From 520b66677d69fddc1776efff87c87724aac234ab Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 27 Mar 2016 17:26:50 +0000 Subject: [PATCH] scst: Fix RHEL 5 build git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6853 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/backport.h | 3 +++ scst/include/scst_debug.h | 6 ++++++ 2 files changed, 9 insertions(+) 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