mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 05:01:27 +00:00
usr/fileio: Build fix for Ubuntu 15.10
Ubuntu 15.10 includes Linux kernel 4.2 but does not define SERVICE_ACTION_IN_16 in the <scsi/scsi.h> glibc header. Hence provide a definition in scst_const.h. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6714 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -466,10 +466,10 @@ static inline int scst_sense_response_code(const uint8_t *sense)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 0)
|
||||
#ifndef GENERATING_UPSTREAM_PATCH
|
||||
/*
|
||||
* See also patch "scsi: rename SERVICE_ACTION_IN_16 to SERVICE_ACTION_IN_16"
|
||||
* (commit eb846d9f147455e4e5e1863bfb5e31974bb69b7c).
|
||||
* (commit eb846d9f147455e4e5e1863bfb5e31974bb69b7c; kernel 3.19.0).
|
||||
*/
|
||||
#ifndef SERVICE_ACTION_IN_16
|
||||
#define SERVICE_ACTION_IN_16 0x9e
|
||||
|
||||
Reference in New Issue
Block a user