scst: Fix RHEL 5 build

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6853 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2016-03-27 17:26:50 +00:00
parent 86816401fa
commit 520b66677d
2 changed files with 9 additions and 0 deletions

View File

@@ -20,8 +20,11 @@
* GNU General Public License for more details.
*/
#include <linux/blkdev.h> /* struct request_queue */
#include <linux/scatterlist.h> /* struct scatterlist */
#include <linux/slab.h> /* kmalloc() */
#include <linux/writeback.h> /* sync_page_range() */
#include <scsi/scsi_cmnd.h> /* struct scsi_cmnd */
/* <asm-generic/barrier.h> */

View File

@@ -35,6 +35,12 @@
#include <linux/ratelimit.h>
#endif
#ifdef INSIDE_KERNEL_TREE
#include <scst/backport.h>
#else
#include <backport.h>
#endif
#if !defined(INSIDE_KERNEL_TREE)
#ifdef CONFIG_SCST_DEBUG