From 82579befad336eed368ed1c695dd8658b8723a5e Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 12 Jun 2012 09:56:54 +0000 Subject: [PATCH] Builds again on kernel 2.6.32 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4345 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/include/scst.h b/scst/include/scst.h index 0a058d393..adf9fdef8 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -71,7 +71,7 @@ typedef _Bool bool; #define __aligned __attribute__((aligned)) #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32) +#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 32) #ifndef O_DSYNC #define O_DSYNC O_SYNC #endif