fcst: Really fix the build against the latest UEK kernel

This patch fixes r9586.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9587 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2021-10-28 03:42:51 +00:00
parent a8711755b5
commit 034badd9c8
2 changed files with 2 additions and 2 deletions

View File

@@ -20,7 +20,7 @@
#include <linux/types.h>
#include <scsi/libfc.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) && \
!(LINUX_VERSION_CODE == KERNEL_VERSION(5, 4, 7) && \
!(LINUX_VERSION_CODE == KERNEL_VERSION(5, 4, 17) && \
defined(UEK_KABI_RENAME))
#include <scsi/fc_encode.h>
#else

View File

@@ -25,7 +25,7 @@
#include <linux/types.h>
#include <scsi/libfc.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 11, 0) && \
!(LINUX_VERSION_CODE == KERNEL_VERSION(5, 4, 7) && \
!(LINUX_VERSION_CODE == KERNEL_VERSION(5, 4, 17) && \
defined(UEK_KABI_RENAME))
#include <scsi/fc_encode.h>
#else